Christopher Parker, MSc
1 min readSep 1, 2020

--

While elegant, in this case it will not work. If you use .Values.global.foo in this kind of ternary IF form when .global does not exist in the parent umbrella chart, Helm will attempt to evaulate the entire variable and produce an error.

Checking for the existence of global first is the trick. The Helm ternary form does not support this.

--

--

Christopher Parker, MSc
Christopher Parker, MSc

Written by Christopher Parker, MSc

Solutions & Infrastructure Architect working as a consultant. I write about real-world problems in the hope of helping others find solutions to theirs.

No responses yet