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

A chart version was overwritten in the registry and two clusters now run different content for "1.4.0". How do you prevent it?

AdvancedScenarioOCI, CI/CD & GitOps
Answer

Situation read → Mutable tags broke the assumption that a version means one content.

What I'd do →

  1. Enable tag immutability on the registry (ECR imageTagMutability: IMMUTABLE; GHCR via policy or CI check).
  2. CI checks whether the version exists before pushing (helm show chart oci://.../shop --version 1.4.0 succeeds means fail).
  3. Deploy by digest in sensitive environments.
  4. Fix: publish 1.4.1 with the intended content and upgrade both clusters.

Why → Immutability is what makes versions meaningful for rollback and audit.

Interview tip → Mention deploying by digest.

All Helm questions Roadmap: Helm

More on OCI, CI/CD & GitOps