Interview Prep/Helm/Chart Structure & Metadata

What does the `crds/` directory do differently from `templates/`?

IntermediateConceptChart Structure & Metadata
Answer

Files in crds/ are plain YAML (no templating), installed before anything else on first install, and ignored on upgrade and uninstall. They are not part of the release manifest, so helm get manifest does not show them. Use helm show crds <chart> to view them and --skip-crds to skip them. If a chart needs to template a CRD (for example with a conversion webhook CA), it must go in templates/ and accept the upgrade and deletion risks.

All Helm questions Roadmap: Helm

More on Chart Structure & Metadata