Helm Template range: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
=Overview= | =Overview= | ||
<tt>range</tt> provides a "for each" loop. The simples way to access the current iteration element is with {{ . }}. [[Helm_Templates#Template_Variables|Variables]] can also be used. | <tt>range</tt> provides a "for each" loop. The simples way to access the current iteration element is with {{ . }}. [[Helm_Templates#Template_Variables|Variables]] can also be used. | ||
=Iterating over an In-Line List= | =Iterating over an In-Line List= |
Revision as of 00:03, 10 October 2019
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.