Explicitly set webhook match policy to Equivalent
Signed-off-by: irbekrm <irbekrm@gmail.com>
This commit is contained in:
parent
3fc6fc62a2
commit
160e638c8f
@ -28,6 +28,10 @@ webhooks:
|
||||
resources:
|
||||
- "*/*"
|
||||
admissionReviewVersions: ["v1", "v1beta1"]
|
||||
# This webhook only accepts v1 cert-manager resources.
|
||||
# Equivalent matchPolicy ensures that non-v1 resource requests are sent to
|
||||
# this webhook (after the resources have been converted to v1).
|
||||
matchPolicy: Equivalent
|
||||
timeoutSeconds: {{ .Values.webhook.timeoutSeconds }}
|
||||
failurePolicy: Fail
|
||||
# Only include 'sideEffects' field in Kubernetes 1.12+
|
||||
|
||||
@ -38,6 +38,10 @@ webhooks:
|
||||
resources:
|
||||
- "*/*"
|
||||
admissionReviewVersions: ["v1", "v1beta1"]
|
||||
# This webhook only accepts v1 cert-manager resources.
|
||||
# Equivalent matchPolicy ensures that non-v1 resource requests are sent to
|
||||
# this webhook (after the resources have been converted to v1).
|
||||
matchPolicy: Equivalent
|
||||
timeoutSeconds: {{ .Values.webhook.timeoutSeconds }}
|
||||
failurePolicy: Fail
|
||||
sideEffects: None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user