Helm Notable Values: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:


Numeric zero evaluates as follows:
Numeric zero evaluates as follows:
<syntaxhighlight lang='yaml'>
myValue: 0
</syntaxhighlight>
Evaluates to false:
<syntaxhighlight lang='yaml'>
{{ if .Values.myValue }}
</syntaxhighlight>

Revision as of 07:51, 5 January 2021

Internal

Overview

Numeric zero evaluates as follows:

myValue: 0

Evaluates to false:

{{ if .Values.myValue }}