← All notes

Helm named templates: reusable partials with global names

Answer: An important detail to keep in mind when naming templates: template names are global.

What a named template is

A named template is sometimes called a partial or a subtemplate.

It is a template defined inside a file for reuse.

There are two ways to create them and a few different ways to use them.

The guide also introduces a special-purpose include function that works similarly to the template action.

Name collisions

If two templates share the same name, whichever one is loaded last is used.

Templates in subcharts are compiled together with top-level templates, so that global name rule still applies.

Keep that global naming detail in mind when two charts declare helpers.

Prefix names with the chart name so two charts are less likely to declare the same template name.

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, Named Templates; The Helm Authors, Named Templates (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, Named Templates; The Helm Authors, Named Templates (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors.

Cite this

Permanent ID: iil:note:28t54tzp

iinventedlight. 2026. "Helm named templates: reusable partials with global names." iinventedlight Library, iil:note:28t54tzp, version of 2026-11-24. https://iinventedlight.com/library/notes/helm-named-templates/. License: CC-BY-4.0.

@misc{iil_note_28t54tzp,
  author = {{iinventedlight}},
  title = {{Helm named templates: reusable partials with global names}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-24},
  url = {https://iinventedlight.com/library/notes/helm-named-templates/},
  note = {Permanent ID iil:note:28t54tzp. 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-named-templates.md.