We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6d0be7 commit f076573Copy full SHA for f076573
helm/git-clone-operator/templates/mutatingwebhookconfiguration.yaml
@@ -13,7 +13,7 @@ metadata:
13
{{- include "git-clone-operator.labels" . | nindent 8 }}
14
webhooks:
15
- name: {{ include "git-clone-operator.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local
16
- failurePolicy: Ignore # do not block whole cluster
+ failurePolicy: {{ .Value.webhook.failurePolicy }}
17
{{- if .Values.onlyLabelledNamespaces }}
18
namespaceSelector:
19
matchLabels:
helm/git-clone-operator/values.yaml
@@ -19,6 +19,9 @@ podSecurityContext:
fsGroup: 65161
20
runAsNonRoot: true
21
22
+webhook:
23
+ failurePolicy: Fail
24
+
25
serviceAccount:
26
create: true
27
name: git-clone-operator-sa
0 commit comments