Difference between revisions of "Helm Template Function List"

From NovaOrdis Knowledge Base
Jump to: navigation, search
(Created page with "=Internal= * Helm Templates =Overview= Create an in-line list: <syntaxhighlight lang='yaml'> {{- range list "blue" "red" "green" }} ... {{ end }}...")
 
(Overview)
 
Line 12: Line 12:
 
{{ end }}
 
{{ end }}
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
List are called slices in templates.

Latest revision as of 00:27, 10 October 2019

Internal

Overview

Create an in-line list:

{{- range list "blue" "red" "green" }}
  ...
{{ end }}

List are called slices in templates.