0Pricing
Helm Academy · Lesson

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

  1. Piping Values Through Functions
  2. default, required, and quote
  3. String Helpers from the Sprig Library
  4. Encoding with b64enc, toYaml, and indent
← Back to Helm Academy