Helm Template Function Default: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 11: | Line 11: | ||
{{ default "blue" .Values.color }} | {{ default "blue" .Values.color }} | ||
In an actual chart, all static default values should live in the [[Helm_Chart_values.yaml|values.yaml]], and should not be repeated using the default command (otherwise they would be redundant). |
Revision as of 04:39, 29 August 2019
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).