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 →
- Pick one owner per release. Remove the CI deploy, or exclude the namespace from Argo CD.
- 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.
More on OCI, CI/CD & GitOps
Design the CI pipeline for an internal Helm chart.IntermediateYour org is moving charts from ChartMuseum to an OCI registry. What changes for consumers?IntermediateA chart version was overwritten in the registry and two clusters now run different content for "1.4.0". How do you prevent it?AdvancedHow would you give GitHub Actions push access to ECR for charts without long-lived keys?IntermediateYou are adopting Argo CD for apps currently deployed with `helm upgrade` from CI. How do you migrate?AdvancedArgo CD shows a Helm app permanently OutOfSync even right after a sync. What do you look for?Intermediate