Encoding with b64enc, toYaml, and indent
Serializing structures into valid manifests.
Serializing Structured Values
Sometimes a value is a whole object, not a string. Helpers like toYaml turn structures into valid manifest fragments.
Rendering Maps with toYaml
The toYaml function converts a map or list from your values into properly formatted YAML text.
{{ toYaml .Values.resources }}All lessons in this course
- Piping Values Through Functions
- default, required, and quote
- String Helpers from the Sprig Library
- Encoding with b64enc, toYaml, and indent