You adopt Argo CD. How do you structure repositories and environments?
IntermediateScenarioDeployment Strategies and GitOps
Answer
Situation read → GitOps layout.
What I'd do →
- Separate the app source repo from a config repo holding manifests (Helm values or Kustomize overlays) per environment:
apps/payments/overlays/{dev,staging,prod}. - CI builds the image, then updates the image tag in the config repo via PR (or Argo CD Image Updater).
- Use an ApplicationSet to generate one Application per env/cluster.
Why → Config changes get separate history, access control and promotion flow.
Interview tip → Do not store manifests in the same repo if you want prod promotion to be gated separately.