diff --git a/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go b/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go index 0ea0a257c1e0..7fcbfee4f60a 100644 --- a/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go +++ b/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go @@ -148,10 +148,10 @@ webhooks: - operations: ["CREATE", "UPDATE"] apiGroups: ["config.karmada.io"] apiVersions: ["*"] - resources: ["resourceexploringwebhookconfigurations"] + resources: ["resourceinterpreterwebhookconfigurations"] scope: "Cluster" clientConfig: - url: https://karmada-webhook.%[1]s.svc:443/validate-resourceexploringwebhookconfiguration + url: https://karmada-webhook.%[1]s.svc:443/validate-resourceinterpreterwebhookconfiguration caBundle: %[2]s failurePolicy: Fail sideEffects: None