Helm Template Function Default

From NovaOrdis Knowledge Base
Revision as of 04:39, 29 August 2019 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

External

Internal

Overview

{{ default <default-value> <actual-value> }}
{{ default "blue" .Values.color }}

In an actual chart, all static default values should live in the values.yaml, and should not be repeated using the default command (otherwise they would be redundant).