← All notes

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

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

Permanent ID: iil:note:r17t3acy

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

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-repo-index.md.