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:
Faisal Memon
2023-08-18 09:48:14 +02:00
committed by GitHub
co-authored by Marco Franssen Kevin Fox
parent 5e4cf6f529
commit b7e15255f3
12 changed files with 39 additions and 0 deletions
@@ -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 }}