Open bluedog13 opened 1 year ago
We don't recommend reusing the Flux manifests across clusters. If the upgrade fails, all your clusters will be impacted. Instead you would upgrade staging first, check that Flux is Ok there and then do production. Having said that, there is nothing stopping you from having a single gotk-components.yaml
which gets imported in all the cluster overlays. You can use the Flux action to automatically upgrade all your clusters at the same time.
Thank you for the answer. This makes perfect sense.
In the repo, why is the gotk-components.yaml file being created twice for the clusters production and staging? Is it because we are creating a seperate "pods" for respective controllers for both the production and staging environments to ensure common controllers (source, kustomize, helm, notification) won't be a problem?
From what I understand, that file will be identical and only the
gotk-sync.yaml
andkustomiation.yaml
files will be different to point to the respective folders to deploy the required resources?Would something like below make sense
Thanks