Helm Template Function empty

From NovaOrdis Knowledge Base
Revision as of 08:22, 5 January 2021 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

{{- if (empty .Values.something) }}
...
{{- end }}

Note that if .Values.something is numeric 0, empty() will evaluated to true. Also see:

Notable Values