0Pricing
Helm Academy · Lesson

Deep Merge with mergeOverwrite and dict

Composing structured values programmatically.

Building Maps in Templates

Sometimes you need to assemble a map inside a template. The dict function creates one from alternating key and value pairs.

{{ $cfg := dict "level" "info" "json" true }}

Why Combine Maps

You often have chart defaults plus user overrides, and you want a single combined map. That is exactly what a merge produces.

All lessons in this course

  1. Deep Merge with mergeOverwrite and dict
  2. tpl: Rendering Strings from Values
  3. Looping Files with range Over .Files.Glob
  4. fail and Custom Validation Guards
← Back to Helm Academy