-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: use state file on init and upgrade (#2395)
* [wip] use state file in CLI Signed-off-by: Moritz Sanft <[email protected]> tidy Signed-off-by: Moritz Sanft <[email protected]> * use state file in CLI Signed-off-by: Moritz Sanft <[email protected]> take clusterConfig from IDFile for compat Signed-off-by: Moritz Sanft <[email protected]> various fixes Signed-off-by: Moritz Sanft <[email protected]> wip Signed-off-by: Moritz Sanft <[email protected]> * add GCP-specific values in Helm loader test Signed-off-by: Moritz Sanft <[email protected]> * remove unnecessary pointer Signed-off-by: Moritz Sanft <[email protected]> * write ClusterValues in one step Signed-off-by: Moritz Sanft <[email protected]> * move stub to test file Signed-off-by: Moritz Sanft <[email protected]> * remove mention of id-file Signed-off-by: Moritz Sanft <[email protected]> * move output to `migrateTerraform` Signed-off-by: Moritz Sanft <[email protected]> * unconditional assignments converting from idFile Signed-off-by: Moritz Sanft <[email protected]> * move require block in go modules file Signed-off-by: Moritz Sanft <[email protected]> * fall back to id file on upgrade Signed-off-by: Moritz Sanft <[email protected]> * tidy Signed-off-by: Moritz Sanft <[email protected]> * fix linter check Signed-off-by: Moritz Sanft <[email protected]> * add notice to remove Terraform state check on manual migration Signed-off-by: Moritz Sanft <[email protected]> * add `name` field Signed-off-by: Moritz Sanft <[email protected]> fix name tests Signed-off-by: Moritz Sanft <[email protected]> * return early if no Terraform diff Signed-off-by: Moritz Sanft <[email protected]> * tidy Signed-off-by: Moritz Sanft <[email protected]> * return infrastructure state even if no diff exists Signed-off-by: Moritz Sanft <[email protected]> * add TODO to remove comment Signed-off-by: Moritz Sanft <[email protected]> * use state-file in miniconstellation Signed-off-by: Moritz Sanft <[email protected]> * cli: remove id-file (#2402) * remove id-file from `constellation create` Signed-off-by: Moritz Sanft <[email protected]> * add file renaming to handler * rename id-file after upgrade * use idFile on `constellation init` Signed-off-by: Moritz Sanft <[email protected]> * remove id-file from `constellation verify` Signed-off-by: Moritz Sanft <[email protected]> * linter fixes Signed-off-by: Moritz Sanft <[email protected]> * remove id-file from `constellation mini` * remove id-file from `constellation recover` * linter fixes * remove id-file from `constellation terminate` * fix initSecret type * fix recover argument precedence * fix terminate test * generate * add TODO to remove id-file removal * Update cli/internal/cmd/init.go Co-authored-by: Adrian Stobbe <[email protected]> * fix verify arg parse logic Signed-off-by: Moritz Sanft <[email protected]> * add version test Signed-off-by: Moritz Sanft <[email protected]> * remove id-file from docs * add file not found log * use state-file in miniconstellation Signed-off-by: Moritz Sanft <[email protected]> * remove id-file from `constellation iam destroy` Signed-off-by: Moritz Sanft <[email protected]> * remove id-file from `cdbg deploy` Signed-off-by: Moritz Sanft <[email protected]> --------- Signed-off-by: Moritz Sanft <[email protected]> Co-authored-by: Adrian Stobbe <[email protected]> * use state-file in CI Signed-off-by: Moritz Sanft <[email protected]> * update orchestration docs --------- Signed-off-by: Moritz Sanft <[email protected]> Co-authored-by: Adrian Stobbe <[email protected]>
- Loading branch information
Showing
51 changed files
with
1,183 additions
and
491 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.