You are adopting Argo CD for apps currently deployed with `helm upgrade` from CI. How do you migrate?
AdvancedScenarioOCI, CI/CD & GitOps
Answer
Situation read → Existing objects are Helm-managed; Argo CD will apply the same manifests and track them with its own labels.
What I'd do →
- Create the Argo CD Application with the same chart, version, values and
releaseNameso rendered names match. - Sync without prune first; Argo CD adopts existing objects (it applies over them).
- Verify the app is Synced/Healthy, then delete the Helm release records only (
kubectl delete secret -l owner=helm,name=shop), nothelm uninstall, which would delete workloads. - Remove the CI deploy step; check hooks behave correctly as Argo CD sync hooks.
Why → You transfer ownership without recreating resources.
Interview tip → The "delete release Secrets, not helm uninstall" detail shows real experience.
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?IntermediateArgo CD shows a Helm app permanently OutOfSync even right after a sync. What do you look for?IntermediateHow do you promote a chart version from staging to prod in a GitOps setup?Intermediate