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
@@ -10,7 +10,11 @@ webhooks:
|
||||
name: {{ include "spire-controller-manager.fullname" . }}-webhook
|
||||
namespace: {{ include "spire-server.namespace" . }}
|
||||
path: /validate-spire-spiffe-io-v1alpha1-clusterfederatedtrustdomain
|
||||
{{- if eq (.Values.controllerManager.installAndUpgradeHook.enabled | toString) "true" }}
|
||||
failurePolicy: Ignore # Actual value to be set by post install/upgrade hooks
|
||||
{{- else }}
|
||||
failurePolicy: {{ .Values.controllerManager.validatingWebhookConfiguration.failurePolicy }}
|
||||
{{- end }}
|
||||
name: vclusterfederatedtrustdomain.kb.io
|
||||
rules:
|
||||
- apiGroups: ["spire.spiffe.io"]
|
||||
|
||||
Reference in New Issue
Block a user