Helm postrenderer plugin: rewrite manifests after a chart is rendered
Answer: The tutorial builds a plugin that adds custom labels to all Kubernetes resources, and also shows a renderer that runs kustomize build.
A label-injector example
The tutorial builds a plugin that adds custom labels to all Kubernetes resources.
The first manifest uses type postrenderer/v1, name label-injector, version 0.1.0, and the subprocess runtime.
You can create the plugin directory anywhere on your filesystem.
Installing a plugin from your filesystem installs it in local dev mode.
A kustomize example
A second example runs kustomize build over the rendered manifests and requires kustomize on your PATH.
If kustomize build fails, the script exits non-zero and Helm reports the error.
The Wasm runtime lists Go 1.25 installed as a prerequisite.
See also
Claims
- id: C1 claim: The tutorial builds a plugin that adds custom labels to all Kubernetes resources. source: S1 evidence: "Build a plugin that adds custom labels to all Kubernetes resources"
- id: C2 claim: One example runs kustomize build over the rendered manifests. source: S2 evidence: "This plugin runs
kustomize buildover the rendered manifests"
- id: C3 claim: If kustomize build fails, the script exits non-zero and Helm reports the error. source: S2 evidence: "If
kustomize buildfails, the script exits non-zero and Helm reports the error"
Sources
- [S1] Tutorial: Build a Postrenderer Plugin. The Helm Authors. https://helm.sh/docs/plugins/developer/tutorial-postrenderer-plugin/ . License: MIT. Accessed 2026-11-26.
- [S2] Tutorial: Build a Postrenderer Plugin (source). The Helm Authors. https://raw.githubusercontent.com/helm/helm-www/main/docs/plugins/developer/tutorial-postrenderer-plugin.mdx . 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, Tutorial: Build a Postrenderer Plugin; The Helm Authors, Tutorial: Build a Postrenderer Plugin (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, Tutorial: Build a Postrenderer Plugin; The Helm Authors, Tutorial: Build a Postrenderer Plugin (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors.
Cite this
iinventedlight. 2026. "Helm postrenderer plugin: rewrite manifests after a chart is rendered." iinventedlight Library, iil:note:c789dskb, version of 2026-11-26. https://iinventedlight.com/library/notes/helm-postrenderer-plugin/. License: CC-BY-4.0.
@misc{iil_note_c789dskb,
author = {{iinventedlight}},
title = {{Helm postrenderer plugin: rewrite manifests after a chart is rendered}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-26},
url = {https://iinventedlight.com/library/notes/helm-postrenderer-plugin/},
note = {Permanent ID iil:note:c789dskb. 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-postrenderer-plugin.schema.json (schema; CC-BY-4.0)
- helm-postrenderer-plugin.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-postrenderer-plugin.md.