Update _verify_operator.tpl

This commit is contained in:
Kjeld Schouten
2023-05-30 22:05:36 +02:00
committed by GitHub
parent 0b8bddb173
commit c454164d92

View File

@@ -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 -}}