Interview Prep/Helm/Chart Structure & Metadata

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.

All Helm questions Roadmap: Helm

More on Chart Structure & Metadata