Skip to content

Commit 8e9666a

Browse files
committed
make webhook failurePolicy configurable
1 parent 0ba3790 commit 8e9666a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

charts/java-truststore-injection-webhook/templates/mutatingwebhook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ webhooks:
1717
namespace: {{ .Release.Namespace }}
1818
path: /mutate
1919
port: {{ .Values.service.port }}
20-
failurePolicy: Fail
20+
failurePolicy: {{ .Values.webhook.failurePolicy }}
2121
name: truststore-injector.bakito.ch
2222
rules:
2323
- apiGroups:

charts/java-truststore-injection-webhook/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ resources: {}
4040

4141
nodeSelector: {}
4242

43+
webhook:
44+
failurePolicy: Fail

0 commit comments

Comments
 (0)