Change webhook manifests for mutation and validation to only accept v1

in admissionReviewVersions

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
joshvanl
2021-07-29 11:10:25 +01:00
parent bd95b3779c
commit fbfe48cad8
2 changed files with 2 additions and 2 deletions
@@ -26,7 +26,7 @@ webhooks:
- UPDATE
resources:
- "*/*"
admissionReviewVersions: ["v1", "v1beta1"]
admissionReviewVersions: ["v1"]
# 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).
@@ -36,7 +36,7 @@ webhooks:
- UPDATE
resources:
- "*/*"
admissionReviewVersions: ["v1", "v1beta1"]
admissionReviewVersions: ["v1"]
# 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).