Skip to content

Commit

Permalink
feat(admission): add failure policy as Fail for admission-webhook (op…
Browse files Browse the repository at this point in the history
…enebs#2679)

failure policy Fail means that an error calling the webhook
 causes the admission to fail on defined validations.

Signed-off-by: prateekpandey14 <prateek.pandey@openebs.io>
  • Loading branch information
prateekpandey14 authored and vishnuitta committed Jul 19, 2019
1 parent c4cbed2 commit 5411463
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions k8s/openebs-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,9 @@ metadata:
app: admission-webhook
openebs.io/component-name: admission-webhook
webhooks:
# failurePolicy Fail means that an error calling the webhook causes the admission to fail.
- name: admission-webhook.openebs.io
failurePolicy: Fail
clientConfig:
service:
name: admission-server-svc
Expand Down

0 comments on commit 5411463

Please sign in to comment.