Helm Template Function empty: Difference between revisions
Jump to navigation
Jump to search
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_Numeric_Zero|Numeric Zero}} |
Revision as of 07:50, 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: