Helm Variables

From NovaOrdis Knowledge Base
Revision as of 00:56, 8 October 2020 by Ovidiu (talk | contribs) (→‎Overview)
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.