From b3443073fc48b9a63821a01a55f7fad4e5b8be82 Mon Sep 17 00:00:00 2001 From: Peter Fiddes Date: Wed, 30 Aug 2023 15:47:45 +0100 Subject: [PATCH] fix: Scope mutating webhook to only certificaterequest resources Signed-off-by: Peter Fiddes --- .../charts/cert-manager/templates/webhook-mutating-webhook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/charts/cert-manager/templates/webhook-mutating-webhook.yaml b/deploy/charts/cert-manager/templates/webhook-mutating-webhook.yaml index f3db011ef..165537f24 100644 --- a/deploy/charts/cert-manager/templates/webhook-mutating-webhook.yaml +++ b/deploy/charts/cert-manager/templates/webhook-mutating-webhook.yaml @@ -25,7 +25,7 @@ webhooks: - CREATE - UPDATE resources: - - "*/*" + - "certificaterequests" admissionReviewVersions: ["v1"] # This webhook only accepts v1 cert-manager resources. # Equivalent matchPolicy ensures that non-v1 resource requests are sent to