← All notes

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

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

Permanent ID: iil:note:c789dskb

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

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-postrenderer-plugin.md.