Interview Prep/Helm/Helm 3 Architecture & Release Storage

How does Helm handle CRDs, and why is it controversial?

AdvancedConceptHelm 3 Architecture & Release Storage
Answer

CRDs placed in the chart's crds/ directory are installed on helm install before anything else, are not templated, and are never upgraded or deleted by Helm. Skipping them is --skip-crds. This is deliberate: deleting a CRD deletes every custom resource of that type cluster-wide, and two releases may share one CRD.

The trade-off is that CRD schema changes in a new chart version are silently ignored. In production we either apply CRDs separately (kubectl apply --server-side -f crds/) as a pipeline step, use a dedicated CRD chart in templates/ with helm.sh/resource-policy: keep, or let Argo CD manage them with server-side apply.

All Helm questions Roadmap: Helm

More on Helm 3 Architecture & Release Storage