Helm Variables

From NovaOrdis Knowledge Base
Revision as of 00:55, 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:

{{- $relname := .Release.Name -}}
...
data:
  release: {{ $relname }}

Variables are less frequently used, as an alternative preferred construct is the named template.