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
- id: C1 claim: An important detail to keep in mind when naming templates: template names are global. source: S1 evidence: "template names are global"
- id: C2 claim: We'll see two ways to create them, and a few different ways to use them. source: S1 evidence: "We'll see two ways to create them, and a few different ways to use them."
- id: C3 claim: If two templates share a name, the one loaded last is used. source: S1 evidence: "whichever one is loaded last will be the one used."
- id: C4 claim: The markdown source also states that template names are global. source: S2 evidence: "template names are global"
Sources
- [S1] Named Templates. The Helm Authors. https://helm.sh/docs/chart_template_guide/named_templates/ . License: MIT. Accessed 2026-11-24.
- [S2] Named Templates (source). The Helm Authors. https://raw.githubusercontent.com/helm/helm-www/main/docs/chart_template_guide/named_templates.md . License: MIT. Accessed 2026-11-24.
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
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.},
}
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-named-templates.schema.json (schema; CC-BY-4.0)
- helm-named-templates.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-named-templates.md.