tpl: Rendering Strings from Values
Evaluating template expressions stored in values.
Templates Inside Values
Sometimes a value in values.yaml itself contains template syntax. By default Helm treats it as a plain string and never evaluates it.
Meet the tpl Function
The tpl function takes a string and a context, then renders that string as a Go template right where you call it.
{{ tpl .Values.greeting . }}All lessons in this course
- Deep Merge with mergeOverwrite and dict
- tpl: Rendering Strings from Values
- Looping Files with range Over .Files.Glob
- fail and Custom Validation Guards