mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-15 16:09:39 -05:00
cli: add --workspace flag to set base directory for Constellation workspace (#2148)
* Remove `--config` and `--master-secret` falgs * Add `--workspace` flag * In CLI, only work on files with paths created from `cli/internal/cmd` * Properly print values for GCP on IAM create when not directly updating the config --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
ec33530c38
commit
d1ace13713
57 changed files with 966 additions and 1145 deletions
|
|
@ -74,8 +74,8 @@ const (
|
|||
// Filenames.
|
||||
//
|
||||
|
||||
// ClusterIDsFileName filename that contains Constellation clusterID and IP.
|
||||
ClusterIDsFileName = "constellation-id.json"
|
||||
// ClusterIDsFilename filename that contains Constellation clusterID and IP.
|
||||
ClusterIDsFilename = "constellation-id.json"
|
||||
// ConfigFilename filename of Constellation config file.
|
||||
ConfigFilename = "constellation-conf.yaml"
|
||||
// LicenseFilename filename of Constellation license file.
|
||||
|
|
@ -88,8 +88,6 @@ const (
|
|||
TerraformWorkingDir = "constellation-terraform"
|
||||
// TerraformIAMWorkingDir is the directory name for the Terraform IAM Client workspace.
|
||||
TerraformIAMWorkingDir = "constellation-iam-terraform"
|
||||
// GCPServiceAccountKeyFile is the file name for the GCP service account key file.
|
||||
GCPServiceAccountKeyFile = "gcpServiceAccountKey.json"
|
||||
// ErrorLog file which contains server errors during init.
|
||||
ErrorLog = "constellation-cluster.log"
|
||||
// ControlPlaneAdminConfFilename filepath to control plane kubernetes admin config.
|
||||
|
|
@ -157,8 +155,6 @@ const (
|
|||
MiniConstellationUID = "mini"
|
||||
// TerraformLogFile is the file name of the Terraform log file.
|
||||
TerraformLogFile = "terraform.log"
|
||||
// TerraformUpgradePlanFile is the file name of the zipfile created by Terraform plan for Constellation upgrades.
|
||||
TerraformUpgradePlanFile = "plan.zip"
|
||||
// TerraformUpgradeWorkingDir is the directory name for the Terraform workspace being used in an upgrade.
|
||||
TerraformUpgradeWorkingDir = "terraform"
|
||||
// TerraformIAMUpgradeWorkingDir is the directory name for the Terraform IAM workspace being used in an upgrade.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue