Skip to content

Commit

Permalink
Merge pull request #2923 from qingwave/automated-cherry-pick-of-#2915…
Browse files Browse the repository at this point in the history
…-upstream-release-1.3

Cherry pick #2915 to release-1.3: fix that validating for resourceinterpreterwebhookconfigurations
  • Loading branch information
karmada-bot authored Dec 8, 2022
2 parents 6f8a7f4 + 5416872 commit 2cc4b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/karmadactl/cmdinit/karmada/webhook_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2cc4b47

Please sign in to comment.