Helm Variables
Jump to navigation
Jump to search
External
Internal
Overview
A variable is a named reference to another object. It is assigned and referred using the $<name> syntax. := is used as assignment operator.
{{- $relname := .Release.Name -}}
...
data:
release: {{ $relname }}
Variables are less frequently used, as an alternative preferred construct is the named template.