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

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 →

  1. Create the Argo CD Application with the same chart, version, values and releaseName so rendered names match.
  2. Sync without prune first; Argo CD adopts existing objects (it applies over them).
  3. Verify the app is Synced/Healthy, then delete the Helm release records only (kubectl delete secret -l owner=helm,name=shop), not helm uninstall, which would delete workloads.
  4. 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.

All Helm questions Roadmap: Helm

More on OCI, CI/CD & GitOps