We found that we needed two git repositories per cluster to manage a Jenkins X installation via GitOps.
Infrastructure - this contains the terraform managed resources e.g. main.tf and infrastructure related options, folks can use services like Terraform Cloud to manage cloud infrastructure, responding to webhooks events which run a plan and apply.
Cluster - this contains the Jenkins X managed resources e.g. helmfile.yaml, jx-requirements + version stream
This gives us a clear separation of concerns and webhooks trigger automation for both. When we had both in the same git repository Terraform Cloud quickly filled up with lots and lots of planned builds which we not for terraform but for the Jenkins X gitops managed resources
We found that we needed two git repositories per cluster to manage a Jenkins X installation via GitOps.
This gives us a clear separation of concerns and webhooks trigger automation for both. When we had both in the same git repository Terraform Cloud quickly filled up with lots and lots of planned builds which we not for terraform but for the Jenkins X gitops managed resources