Helm Template Function List: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Helm Templates =Overview= Create an in-line list: <syntaxhighlight lang='yaml'> {{- range list "blue" "red" "green" }} ... {{ end }}...")
 
 
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.