Interview Prep/Helm/OCI, CI/CD & GitOps

CI deploys with `helm upgrade` and also Argo CD watches the same namespace. Is that OK?

IntermediateScenarioOCI, CI/CD & GitOps
Answer

Situation read → Two controllers owning the same objects will fight: Argo CD self-heal reverts CI changes, or CI overwrites Argo CD state.

What I'd do →

  1. Pick one owner per release. Remove the CI deploy, or exclude the namespace from Argo CD.
  2. CI can still build, push charts and images, and update Git; Argo CD applies.

Why → Single ownership is the foundation of GitOps.

Interview tip → "One writer per resource" is the principle.

All Helm questions Roadmap: Helm

More on OCI, CI/CD & GitOps