diff --git a/charts/_crds/patches/webhook_in_clusterresourcebindings.yaml b/charts/_crds/patches/webhook_in_clusterresourcebindings.yaml index 9dab7b131a3c..b8570a6d05c5 100644 --- a/charts/_crds/patches/webhook_in_clusterresourcebindings.yaml +++ b/charts/_crds/patches/webhook_in_clusterresourcebindings.yaml @@ -11,5 +11,4 @@ spec: clientConfig: url: https://karmada-webhook.karmada-system.svc:443/convert caBundle: {{caBundle}} - # TODO(RainbowMango): After we update controller-runtime to v0.10+, then we can remove `v1beta1` - conversionReviewVersions: ["v1beta1", "v1"] + conversionReviewVersions: ["v1"] diff --git a/charts/_crds/patches/webhook_in_resourcebindings.yaml b/charts/_crds/patches/webhook_in_resourcebindings.yaml index 4b5c24e5d625..c55bed0bf0c0 100644 --- a/charts/_crds/patches/webhook_in_resourcebindings.yaml +++ b/charts/_crds/patches/webhook_in_resourcebindings.yaml @@ -11,5 +11,4 @@ spec: clientConfig: url: https://karmada-webhook.karmada-system.svc:443/convert caBundle: {{caBundle}} - # TODO(RainbowMango): After we update controller-runtime to v0.10+, then we can remove `v1beta1` - conversionReviewVersions: ["v1beta1", "v1"] + conversionReviewVersions: ["v1"] diff --git a/charts/templates/_patch_webhook_in_clusterresourcebindings.tpl b/charts/templates/_patch_webhook_in_clusterresourcebindings.tpl index 52b6e068f8e1..269a28c0962f 100644 --- a/charts/templates/_patch_webhook_in_clusterresourcebindings.tpl +++ b/charts/templates/_patch_webhook_in_clusterresourcebindings.tpl @@ -15,7 +15,6 @@ spec: clientConfig: url: https://{{ $name }}-webhook.{{ $namespace }}.svc:443/convert {{- include "karmada.webhook.caBundle" . | nindent 8 }} - # TODO(RainbowMango): After we update controller-runtime to v0.10+, then we can remove `v1beta1` - conversionReviewVersions: ["v1beta1", "v1"] + conversionReviewVersions: ["v1"] --- {{- end -}} diff --git a/charts/templates/_patch_webhook_in_resourcebindings.tpl b/charts/templates/_patch_webhook_in_resourcebindings.tpl index 31801b5a9616..d98b78f94686 100644 --- a/charts/templates/_patch_webhook_in_resourcebindings.tpl +++ b/charts/templates/_patch_webhook_in_resourcebindings.tpl @@ -15,7 +15,6 @@ spec: clientConfig: url: https://{{ $name }}-webhook.{{ $namespace }}.svc:443/convert {{- include "karmada.webhook.caBundle" . | nindent 8 }} - # TODO(RainbowMango): After we update controller-runtime to v0.10+, then we can remove `v1beta1` - conversionReviewVersions: ["v1beta1", "v1"] + conversionReviewVersions: [v1"] --- {{- end -}}