diff --git a/content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md b/content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md index fb972f51ad50d..6455d177168cf 100644 --- a/content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md +++ b/content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md @@ -192,13 +192,13 @@ the webhooks. There are three steps to complete the configuration. plugins: - name: ValidatingAdmissionWebhook configuration: - apiVersion: apiserver.config.k8s.io/v1alpha1 - kind: WebhookAdmission + apiVersion: apiserver.config.k8s.io/v1 + kind: WebhookAdmissionConfiguration kubeConfigFile: "" - name: MutatingAdmissionWebhook configuration: - apiVersion: apiserver.config.k8s.io/v1alpha1 - kind: WebhookAdmission + apiVersion: apiserver.config.k8s.io/v1 + kind: WebhookAdmissionConfiguration kubeConfigFile: "" ``` {{% /tab %}} @@ -210,11 +210,13 @@ the webhooks. There are three steps to complete the configuration. plugins: - name: ValidatingAdmissionWebhook configuration: + # Deprecated in v1.17 in favor of apiserver.config.k8s.io/v1, kind=WebhookAdmissionConfiguration apiVersion: apiserver.config.k8s.io/v1alpha1 kind: WebhookAdmission kubeConfigFile: "" - name: MutatingAdmissionWebhook configuration: + # Deprecated in v1.17 in favor of apiserver.config.k8s.io/v1, kind=WebhookAdmissionConfiguration apiVersion: apiserver.config.k8s.io/v1alpha1 kind: WebhookAdmission kubeConfigFile: ""