mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
cli: change generate-config flag to update-config flag (#1897)
This commit is contained in:
parent
9bb91ca447
commit
77b28cb5e7
12 changed files with 285 additions and 380 deletions
|
@ -23,9 +23,13 @@ spawn asciinema rec --overwrite /recordings/configure-cluster.cast
|
|||
send "\r"
|
||||
expect_prompt
|
||||
|
||||
run_command "# Step 1: Create IAM configuration and Constellation configuration file"
|
||||
run_command "# Step 1: Create a configuration file for Constellation"
|
||||
expect_prompt
|
||||
run_command "constellation iam create gcp --generate-config --projectID constellation-331613 --serviceAccountID constellation-demo --zone europe-west3-b"
|
||||
run_command "constellation config generate gcp"
|
||||
expect_prompt
|
||||
run_command "# Step 2: Create your cluster's IAM configuration"
|
||||
expect_prompt
|
||||
run_command "constellation iam create gcp --update-config --projectID constellation-331613 --serviceAccountID constellation-demo --zone europe-west3-b"
|
||||
expect -re "y\/n"
|
||||
send "y"
|
||||
send "\r"
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
|
||||
# Create IAM configuration
|
||||
pushd constellation || exit
|
||||
constellation iam create gcp --generate-config --projectID constellation-331613 --serviceAccountID constellation-demo --zone europe-west3-b --yes
|
||||
constellation config generate gcp
|
||||
constellation iam create gcp --update-config --projectID constellation-331613 --serviceAccountID constellation-demo --zone europe-west3-b --yes
|
||||
popd || exit
|
||||
|
||||
docker build -t screenrecodings docker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue