Interview Prep/GitOps & Argo CD/Repo Structure, Flux, Scaling & DR

Why separate the application source repo from the config (GitOps) repo?

BeginnerConceptRepo Structure, Flux, Scaling & DR
Answer
  • CI commits (tag bumps) do not trigger new app builds or loop.
  • Different access: many developers write code; fewer people approve production config.
  • Clean audit: the config repo history is exactly the deployment history.
  • Argo CD does not have to fetch a large source repo with binaries and tests.
  • One config repo can describe many services and the platform.

Small teams sometimes keep a deploy/ folder in the app repo; it works, but the trade-offs above appear as you grow.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Repo Structure, Flux, Scaling & DR