jenkins-x / issues

Issue tracker for Jenkins X v3
1 stars 0 forks source link

split AKS terraform repository into a infrastructure and cluster git repository the same as GKE and EKS #17

Closed rawlingsj closed 3 years ago

rawlingsj commented 4 years ago

We found that we needed two git repositories per cluster to manage a Jenkins X installation via GitOps.

  1. 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.
  2. 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