GoogleCloudPlatform / pubsec-declarative-toolkit

The GCP PubSec Declarative Toolkit is a collection of declarative solutions to help you on your Journey to Google Cloud. Solutions are designed using Config Connector and deployed using Config Controller.
Apache License 2.0
30 stars 26 forks source link

client-setup package requires OCI installation - will not work with KPT procedure - adjust readme and 766 script #807

Open obriensystems opened 5 months ago

obriensystems commented 5 months ago

There are 4 packages installed for a base landing zone

The 2nd package can only be installed via the OCI procedure - not raw KPT like core-landing-zone - because rootsync is built in by default

repo-url must be set

  repo-url: git-repo-to-observe
  repo-branch: main
  repo-dir: csync/deploy/env

or we deploy via


michael@cloudshell:~/kcc-cso/github/pubsec-declarative-toolkit/solutions (kcc-cso-4380)$ ./setup.sh -b kcc-cso -u cso2 -n false -c false -l false -m true -o false -g false -h false -r false -d false -j false -p kcc-cso-4380

  kpt live apply $REL_SUB_PACKAGE --reconcile-timeout=15m --output=table

config-man  RootSync/client-cso2-csync                Successful    Failed                  Stalled                                   25s     Secret git-creds not found: create one t
``
obriensystems commented 5 months ago

alaincormier-ssc 46 minutes ago • there's a note in this doc to remove the baked-in root sync if gitops isn't used:

pubsec-declarative-toolkit/docs/landing-zone-v2/onboarding-client.md

Line 64 in 43c96f4

!!! There is a folder in that package called root-sync-git. This folder can be deleted if your are not using a Gitops - Git deployment solution. But, if you are, you should now create a new repository for this client and add the client-landing-zone package to that repo Collaborator @obriensystems obriensystems 20 minutes ago Alain, very usefull, i appreciate the dialog. retrofiting script, thank you