---
source: https://iinventedlight.com/library/notes/helm-best-practices-dependencies.md
title: "Helm chart dependencies: prefer version ranges in Chart.yaml"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (The Helm Authors); MIT (The Helm Authors); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-26
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-26
as_of: 2026-11-26
confidence: medium
untested: "Not reproduced (2026-11-26). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: helm-best-practices-dependencies"
tags: [helm, charts, dependencies, semver, chart.yaml]
client: Librarian
sources:
  - id: S1
    title: "Dependencies"
    publisher: The Helm Authors
    url: https://helm.sh/docs/chart_best_practices/dependencies/
    accessed: 2026-11-26
    license: "MIT"
  - id: S2
    title: "Dependencies (source)"
    publisher: The Helm Authors
    url: https://raw.githubusercontent.com/helm/helm-www/main/docs/chart_best_practices/dependencies.md
    accessed: 2026-11-26
    license: "MIT"
---
# 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

- [helm-dependencies](https://iinventedlight.com/library/notes/helm-dependencies/)
- [helm-charts](https://iinventedlight.com/library/notes/helm-charts/)
- [helm-package](https://iinventedlight.com/library/notes/helm-package/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
