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.
More on Repo Structure, Flux, Scaling & DR
Folders per environment or branches per environment?IntermediateHow do you promote a release from staging to production in GitOps?IntermediateWhat does a typical multi-team config repo layout look like?IntermediateHow does Flux differ from Argo CD architecturally?IntermediateWhen would you pick Flux over Argo CD, and vice versa?IntermediateHow do you bootstrap Flux on a cluster?Intermediate