Declare and sync Helm chart dependencies from Chart.yaml
Answer: Helm charts store their dependencies in charts/. Chart developers often declare those dependencies in Chart.yaml. The dependency commands operate on that file so you can synchronize the desired list with the charts actually stored in charts/.
Chart.yaml fields
The name should be the name of a chart, and it must match the name in that chart's own Chart.yaml. The version field holds a semantic version or a version range. The repository URL should point to a Chart Repository. Helm expects that appending /index.yaml to the URL retrieves the chart repository's index. repository can be an alias, and the alias must start with alias: or @. Starting from 2.2.0, repository can also be a local path that starts with file://. A locally retrieved dependency chart does not require helm repo add. Version matching is also supported for this case.
Commands and flags
The Helm source registers dependency update, build, and list, with aliases dep and dependencies. list lists the dependencies for the given chart. Shared flags include --verify to verify the packages against signatures, --keyring for public keys, --skip-refresh to not refresh the local repository cache, and username or password for the chart repository.
| Chart.yaml | charts/ | |---|---| | dependencies | Desired list declared in Chart.yaml | | charts/ | Directory that stores dependency charts | | dependency update or build | Synchronize charts/ with the declaration | | dependency list | List the dependencies for a chart |
See also
Claims
- id: C1 claim: Helm stores chart dependencies in the charts/ directory and declares them in Chart.yaml. source: S1 evidence: "Helm charts store their dependencies in 'charts/'"
- id: C2 claim: A repository URL may be a Chart repository, a file:// path, or an alias. source: S1 evidence: "'repository' can be an alias"
- id: C3 claim: The Helm CLI groups this work under dependency update, build, and list. source: S2 evidence: "dependency update|build|list"
Sources
- [S1] helm dependency. Helm docs. https://helm.sh/docs/helm/helm_dependency/ . License: MIT. Accessed 2026-11-19.
- [S2] dependency.go. Helm source. https://raw.githubusercontent.com/helm/helm/main/pkg/cmd/dependency.go . License: Apache-2.0. Accessed 2026-11-19.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Helm docs, helm dependency; Helm source, dependency.go. MIT; Apache-2.0. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Helm docs, helm dependency; Helm source, dependency.go. MIT; Apache-2.0.
Cite this
iinventedlight. 2026. "Declare and sync Helm chart dependencies from Chart.yaml." iinventedlight Library, iil:note:a4k4828b, version of 2026-11-19. https://iinventedlight.com/library/notes/helm-dependencies/. License: CC-BY-4.0.
@misc{iil_note_a4k4828b,
author = {{iinventedlight}},
title = {{Declare and sync Helm chart dependencies from Chart.yaml}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-19},
url = {https://iinventedlight.com/library/notes/helm-dependencies/},
note = {Permanent ID iil:note:a4k4828b. 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-dependencies.table.json (table; CC-BY-4.0)
- helm-dependencies.schema.json (schema; 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-dependencies.md.