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

How do you promote a release from staging to production in GitOps?

IntermediateConceptRepo Structure, Flux, Scaling & DR
Answer

Copy the exact, already-tested artifact reference (image tag or digest, chart version) from the staging folder to the prod folder in a pull request, reviewed by the right owners (CODEOWNERS), and merged when the change window allows. Automate PR creation with a script, a workflow, Image Updater for lower environments, or Kargo for stage-based promotion. Never rebuild for prod; promote the same artifact.

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

More on Repo Structure, Flux, Scaling & DR