How should chart versions follow SemVer in practice?
IntermediateConceptChart Structure & Metadata
Answer
- Patch (1.4.0 to 1.4.1): bug fixes in templates, no values changes.
- Minor (1.4.x to 1.5.0): new optional values or features, backward compatible.
- Major (1.x to 2.0.0): removed or renamed values, changed selectors or resource names, anything that requires user action or causes recreation.
Never republish the same version with different content: caches, Argo CD and OCI digests make it non-deterministic which content a cluster gets. CI should fail the build if the version already exists in the registry.
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