From c454164d92b10aa4a69d1ec0f07e4cc7947ef79b Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Tue, 30 May 2023 22:05:36 +0200 Subject: [PATCH] Update _verify_operator.tpl --- library/common/templates/lib/util/_verify_operator.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -}}