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 <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.
More on Dependencies, Subcharts & Library Charts
How do you declare a chart dependency in Helm 3?BeginnerWhat is the difference between `helm dependency update` and `helm dependency build`?IntermediateWhat is `Chart.lock` and why commit it?BeginnerHow does `condition` work on a dependency?BeginnerWhat are `tags` on dependencies?IntermediateWhat does `alias` do on a dependency?Intermediate