Skip to content

Commit

Permalink
fix: renaming root sync in configure-kcc-access.sh (#75)
Browse files Browse the repository at this point in the history
* renaming root sync in configure-kcc-access.sh

* update root-sync file name and readme

* revert to using root-sync name, add var for name

* fix readme
  • Loading branch information
lucstjean-ssc authored Mar 15, 2024
1 parent ba183f1 commit bab98ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/bootstrap/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export ORG_ID=<Organization ID>
export ROOT_FOLDER_ID=<Folder ID> # This one is only required if using folder_opt (-f) because you are not deploying at the org level. Ex. for testing.
export BILLING_ID=<Billing ID>
export GIT_USERNAME=<Git-Username> # For Azure Devops, this is the name of the Organization
export CONFIG_SYNC_NAME=<Config sync name>
export CONFIG_SYNC_REPO=<Repo for Config Sync> # tierX repo URL
export CONFIG_SYNC_VERSION='HEAD'
export CONFIG_SYNC_DIR=<Directory for config sync repo which syncs> # Should default to csync/deploy/<env>
Expand Down
2 changes: 1 addition & 1 deletion scripts/bootstrap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ export TOKEN='xxxxxxxxxxxxxxx'
bash tools/scripts/bootstrap/configure-kcc-access.sh <PATH TO .ENV FILE>
```

The script generates a `root-sync.yaml` file. This file should be checked into the tier1 repo
The script generates a `root-sync.yaml` file. This file should be checked into the tier1 repo
2 changes: 1 addition & 1 deletion scripts/bootstrap/configure-kcc-access.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ cat << EOF > ./root-sync.yaml
apiVersion: configsync.gke.io/v1beta1
kind: RootSync
metadata:
name: root-sync
name: "${CONFIG_SYNC_NAME}"
namespace: config-management-system
spec:
sourceFormat: unstructured
Expand Down

0 comments on commit bab98ac

Please sign in to comment.