diff --git a/library/common/templates/lib/util/_verify_operator.tpl b/library/common/templates/lib/util/_verify_operator.tpl index aaad86b7..c395ce68 100644 --- a/library/common/templates/lib/util/_verify_operator.tpl +++ b/library/common/templates/lib/util/_verify_operator.tpl @@ -5,7 +5,7 @@ {{- $opExists := include "tc.v1.common.lib.util.operator.verify" (dict "rootCtx" $ "opName" $opName) -}} {{/* If the operator was not found */}} - {{- if and (eq $opExists "false") ($.Values.operator.failOnError) -}} + {{- if and (eq $opExists "false") ($.Values.operator.verify.failOnError) -}} {{- fail (printf "Operator [%s] have to be installed first" $opName) -}} {{- end -}} {{- end -}}