fix: `ClusterResourceBinding` scope in `MutatingWebhookConfiguration`

Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
This commit is contained in:
Amir Alavi 2024-07-25 20:58:22 -04:00
parent 4ba18c12ed
commit 2530ab9b88
No known key found for this signature in database
GPG Key ID: A82919F366EE978E
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}