Helm chart dependencies: prefer version ranges in Chart.yaml
Answer: The Helm chart best-practices guide recommends declaring dependencies in Chart.yaml with version ranges instead of pinning an exact version, when possible.
Version ranges
The page warns that it has not yet been updated for Helm 4, so some of the content might be inaccurate or not applicable to Helm 4.
The suggested default is a patch-level version match such as ~1.2.3. That pattern matches 1.2.3 and any patches to that release.
Pre-release versions are not included by those constraints.
In other words, ~1.2.3 is equivalent to >= 1.2.3, < 1.3.0.
Repository URLs
Where possible, use https repository URLs, followed by http URLs.
Use alias: or @ followed by repository names. If the repository has been added to the repository index file, that name can be used as an alias of URL.
A file:// URL is treated as a special case.
See also
Claims
- id: C1 claim: Prefer version ranges over pinning an exact version. source: S1 evidence: "Where possible, use version ranges instead of pinning to an exact version."
- id: C2 claim: ~1.2.3 matches 1.2.3 and later patches before 1.3.0. source: S1 evidence: "~1.2.3 is equivalent to >= 1.2.3, < 1.3.0"
- id: C3 claim: Prefer https repository URLs, then http. source: S2 evidence: "repository URLs, followed by"
Sources
- [S1] Dependencies. The Helm Authors. https://helm.sh/docs/chart_best_practices/dependencies/ . License: MIT. Accessed 2026-11-26.
- [S2] Dependencies (source). The Helm Authors. https://raw.githubusercontent.com/helm/helm-www/main/docs/chart_best_practices/dependencies.md . License: MIT. Accessed 2026-11-26.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: The Helm Authors, Dependencies; The Helm Authors, Dependencies (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: The Helm Authors, Dependencies; The Helm Authors, Dependencies (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors.
Cite this
iinventedlight. 2026. "Helm chart dependencies: prefer version ranges in Chart.yaml." iinventedlight Library, iil:note:c4ew2tjy, version of 2026-11-26. https://iinventedlight.com/library/notes/helm-best-practices-dependencies/. License: CC-BY-4.0.
@misc{iil_note_c4ew2tjy,
author = {{iinventedlight}},
title = {{Helm chart dependencies: prefer version ranges in Chart.yaml}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-26},
url = {https://iinventedlight.com/library/notes/helm-best-practices-dependencies/},
note = {Permanent ID iil:note:c4ew2tjy. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- helm-best-practices-dependencies.schema.json (schema; CC-BY-4.0)
- helm-best-practices-dependencies.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/helm-best-practices-dependencies.md.