Interview Prep/Helm/Dependencies, Subcharts & Library Charts

How do dependency version constraints work?

BeginnerConceptDependencies, Subcharts & Library Charts
Answer

They follow SemVer ranges: "1.2.3" exact, "~1.2.0" (>=1.2.0 <1.3.0), "^1.2.0" (>=1.2.0 <2.0.0), "1.x.x", ">=1.2.0 &lt;1.5.0". Pre-releases are excluded unless the constraint includes one. We use caret or tilde ranges in Chart.yaml and rely on Chart.lock for the exact version, so upgrades are explicit helm dependency update commits reviewed in PRs.

All Helm questions Roadmap: Helm

More on Dependencies, Subcharts & Library Charts