mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 07:39:17 -03:00
Update _verify_operator.tpl
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user