Allow job hooks to be disabled (#434)
Co-authored-by: Marco Franssen <[email protected]> Co-authored-by: Kevin Fox <[email protected]>
This commit is contained in:
co-authored by
Marco Franssen
Kevin Fox
parent
5e4cf6f529
commit
b7e15255f3
@@ -1,3 +1,4 @@
|
||||
{{- if eq ((dig "installAndUpgradeHooks" "enabled" .Values.controllerManager.installAndUpgradeHook.enabled .Values.global) | toString) "true" }}
|
||||
{{- if eq (.Values.controllerManager.enabled | toString) "true" }}
|
||||
{{- if eq .Values.controllerManager.validatingWebhookConfiguration.failurePolicy "Fail" }}
|
||||
apiVersion: v1
|
||||
@@ -85,3 +86,4 @@ spec:
|
||||
}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user