Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
[stable/openebs]: add webhook failure policy configurable env
Browse files Browse the repository at this point in the history
Signed-off-by: prateekpandey14 <[email protected]>
  • Loading branch information
prateekpandey14 authored and kmova committed Jul 15, 2020
1 parent 2a7023c commit 7cddfae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/openebs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
version: 1.12.0
version: 1.12.1
name: openebs
appVersion: 1.12.0
description: Containerized Storage for Containers
Expand Down
2 changes: 2 additions & 0 deletions charts/openebs/templates/deployment-admission-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: ADMISSION_WEBHOOK_FAILURE_POLICY
value: "{{ .Values.webhook.failurePolicy }}"
# Process name used for matching is limited to the 15 characters
# present in the pgrep output.
# So fullname can't be used here with pgrep (>15 chars).A regular expression
Expand Down
2 changes: 1 addition & 1 deletion charts/openebs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ webhook:
enabled: true
image: "openebs/admission-server"
imageTag: "1.12.0"
failurePolicy: Ignore
failurePolicy: "Fail"
replicas: 1
healthCheck:
initialDelaySeconds: 30
Expand Down

0 comments on commit 7cddfae

Please sign in to comment.