From d5411e365e9e25e5311c27d0ed4d001484ac9069 Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Mon, 25 Apr 2022 23:59:32 +0800 Subject: [PATCH] remove karmada-system in chart Signed-off-by: xin.li --- charts/templates/_karmada_webhook_configuration.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/templates/_karmada_webhook_configuration.tpl b/charts/templates/_karmada_webhook_configuration.tpl index 4576bbb67..4cef0f966 100644 --- a/charts/templates/_karmada_webhook_configuration.tpl +++ b/charts/templates/_karmada_webhook_configuration.tpl @@ -59,7 +59,7 @@ webhooks: resources: ["clusteroverridepolicies"] scope: "Cluster" clientConfig: - url: https://karmada-webhook.karmada-system.svc:443/validate-clusteroverridepolicy + url: https://{{ $name }}.{{ $namespace }}.svc:443/validate-clusteroverridepolicy {{- include "karmada.webhook.caBundle" . | nindent 6 }} failurePolicy: Fail sideEffects: None