Helm Template Function empty: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Note that if .Values.something is numeric 0, empty() will evaluated to true. | <span id='Numeric_Zero'></span>Note that if .Values.something is numeric 0, empty() will evaluated to true. Also see: {{Internal|Helm_Notable_Values|Notable Values}} |
Latest revision as of 08:22, 5 January 2021
Internal
Overview
{{- if (empty .Values.something) }}
...
{{- end }}
Note that if .Values.something is numeric 0, empty() will evaluated to true. Also see: