Expand description
Macro variable scoping post-processor
This module resolves bare variable references inside macro definitions to their
fully qualified paths (e.g., chroot → values.controller.image.chroot).
The problem arises from Helm’s with blocks that set a context:
{{- with .Values.controller.image }}
{{- if .chroot }}...
{{- end }}When converted to Jinja2 macros, the context is lost and variables become bare. This post-processor fixes that by searching values.yaml for matching keys.
Structs§
- Macro
Definition - A macro definition with its name and body
- Macro
Post Processor - Post-processor for macro variable scoping
- Unresolved
Variable - Information about a variable that couldn’t be resolved
Enums§
- Resolved
Variable - Result of resolving a variable