Helm Template Function empty

From NovaOrdis Knowledge Base
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