What makes a chart "production grade" structurally?
AdvancedConceptChart Structure & Metadata
Answer
- Consistent naming and label helpers, stable selectors,
fullnameOverridesupport. - Commented
values.yamlwith safe defaults (resources set, non-root, read-only root FS, probes enabled). values.schema.jsonwithrequiredfields and types.- Optional components behind
enabledflags; no hardcoded namespaces (use.Release.Namespace). - Checksum annotations so config changes roll pods.
- PDB, HPA, topology spread and ServiceAccount templates.
helm testhooks,NOTES.txt, and CI that lints, renders against each environment's values and validates with kubeconform.- SemVer discipline and published to an OCI registry, signed.
More on Chart Structure & Metadata
What files does `helm create mychart` generate and which ones matter?BeginnerWhat are the required fields in `Chart.yaml`?BeginnerWhat is the difference between `version` and `appVersion`?BeginnerWhy should `appVersion` be quoted in `Chart.yaml`?BeginnerWhat does `type: library` vs `type: application` mean?BeginnerWhat is the `kubeVersion` field used for?Intermediate