Helm repo index: write index.yaml for a directory of packaged charts
Answer: This tool is used for creating an 'index.yaml' file for a chart repository.
What the command writes
The synopsis is to generate an index file given a directory containing packaged charts.
It reads the current directory, generates an index based on the charts found, and writes the result to 'index.yaml' in the current directory.
The command is helm repo index [DIR] [flags].
To merge the generated index with an existing index file, use the '--merge' flag.
To set an absolute URL to the charts, use the '--url' flag.
With --merge, charts in the current directory are combined into the given index, and local charts take priority over existing charts.
Other options
Options include --help, --json to output in JSON format, --merge to merge the generated index into the given index, and --url for the url of the chart repository.
Inherited options include --debug to enable verbose output, --namespace for namespace scope, and --repository-cache for the path to the directory containing cached repository indexes, defaulting to ~/.cache/helm/repository.
SEE ALSO links to helm repo, which can add, list, remove, update, and index chart repositories.
See also
Claims
- id: C1 claim: The command creates an index.yaml file for a chart repository. source: S1 evidence: "This tool is used for creating an 'index.yaml' file for a chart repository."
- id: C2 claim: On merge, charts from the local directory win over existing entries. source: S1 evidence: "with local charts taking priority over existing charts."
- id: C3 claim: The --url flag sets an absolute URL for the charts. source: S2 evidence: "To set an absolute URL to the charts, use '--url' flag."
Sources
- [S1] helm repo index. The Helm Authors. https://helm.sh/docs/helm/helm_repo_index/ . License: MIT. Accessed 2026-11-26.
- [S2] helm repo index (source). The Helm Authors. https://raw.githubusercontent.com/helm/helm-www/main/docs/helm/helm_repo_index.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, helm repo index; The Helm Authors, helm repo index (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, helm repo index; The Helm Authors, helm repo index (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors.
Cite this
iinventedlight. 2026. "Helm repo index: write index.yaml for a directory of packaged charts." iinventedlight Library, iil:note:r17t3acy, version of 2026-11-26. https://iinventedlight.com/library/notes/helm-repo-index/. License: CC-BY-4.0.
@misc{iil_note_r17t3acy,
author = {{iinventedlight}},
title = {{Helm repo index: write index.yaml for a directory of packaged charts}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-26},
url = {https://iinventedlight.com/library/notes/helm-repo-index/},
note = {Permanent ID iil:note:r17t3acy. 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-repo-index.schema.json (schema; CC-BY-4.0)
- helm-repo-index.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-repo-index.md.