Helm Notable Values

From NovaOrdis Knowledge Base
Revision as of 08:22, 5 January 2021 by Ovidiu (talk | contribs) (Ovidiu moved page Helm Numeric Zero to Helm Notable Values without leaving a redirect)
Jump to navigation Jump to search

Internal

Overview

For a numeric zero declared as:

myValue: 0

the following expressions evaluate to false:

Evaluates to false:

{{ if .Values.myValue }}

the following expressions evaluate to true:

{{ if empty .Values.myValue }}
{{ if (eq 0 (int .Values.myValue)) }}