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

Design the CI pipeline for an internal Helm chart.

IntermediateScenarioOCI, CI/CD & GitOps
Answer

Situation read → Charts are code; they need tests, versioning and publishing.

What I'd do →

  1. On PR: helm lint --strict per env, helm template | kubeconform, helm-unittest, ct install on kind, helm diff against staging.
  2. Enforce a version bump if chart files changed (ct lint checks this).
  3. On merge: helm package, helm push to OCI (ECR/GHCR) with immutable tags, cosign sign.
  4. Update the environment config (Helmfile or Argo CD) via PR for promotion.

Why → Every published chart version is tested, immutable and traceable.

Interview tip → Mention version-bump enforcement and immutable tags.

All Helm questions Roadmap: Helm

More on OCI, CI/CD & GitOps