From 2530ab9b886f3bb380af4dd967d7a70b1250fe33 Mon Sep 17 00:00:00 2001 From: Amir Alavi Date: Thu, 25 Jul 2024 20:58:22 -0400 Subject: [PATCH] fix: `ClusterResourceBinding` scope in `MutatingWebhookConfiguration` Signed-off-by: Amir Alavi --- charts/karmada/templates/_karmada_webhook_configuration.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/karmada/templates/_karmada_webhook_configuration.tpl b/charts/karmada/templates/_karmada_webhook_configuration.tpl index 218ac0133..4bd101e9b 100644 --- a/charts/karmada/templates/_karmada_webhook_configuration.tpl +++ b/charts/karmada/templates/_karmada_webhook_configuration.tpl @@ -72,7 +72,7 @@ webhooks: apiGroups: ["work.karmada.io"] apiVersions: ["*"] resources: ["clusterresourcebindings"] - scope: "Namespaced" + scope: "Cluster" clientConfig: url: https://{{ $name }}-webhook.{{ $namespace }}.svc:443/mutate-clusterresourcebinding {{- include "karmada.webhook.caBundle" . | nindent 6 }}