← All notes

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

Sources

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

Permanent ID: iil:note:c4ew2tjy

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.},
}

Markdown

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.

All artifact files (JSON index)

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.