Helm Template range

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

range provides a "for each" loop. The simples way to access the current iteration element is with {{ . }}. Variables can also be used.

Iterating over an In-Line List

Iterating over a .Values List

Iterating over a Map

Numeric Iteration Variable