From 90c8eaf6d1726e8107036b6e3f910e344cae1568 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 218ac0133275..4bd101e9b671 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 }}