From a79e830cbb9df37e9ed183542a4a0edaa25344fa Mon Sep 17 00:00:00 2001 From: ningning54321 <4188458+ningning54321@users.noreply.github.com> Date: Thu, 7 Jun 2018 22:56:15 +0800 Subject: [PATCH 1/2] Update extensible-admission-controllers.md --- .../access-authn-authz/extensible-admission-controllers.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 baa0a9a37eba5..1d4b6db4e19a5 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 @@ -33,9 +33,9 @@ This page describes how to use Admission Webhooks and Initializers. Admission webhooks are HTTP callbacks that receive admission requests and do something with them. You can define two types of admission webhooks, -[validating admission Webhook](/docs/admin/admission-controllers/#validatingadmissionwebhook-alpha-in-18-beta-in-19) +[validating admission Webhook](/docs/admin/admission-controllers/#validatingadmissionwebhook-alpha-in-1-8-beta-in-1-9) and -[mutating admission webhook](/docs/admin/admission-controllers/#mutatingadmissionwebhook-beta-in-19). +[mutating admission webhook](/docs/admin/admission-controllers/#mutatingadmissionwebhook-beta-in-1-9). With validating admission Webhooks, you may reject requests to enforce custom admission policies. With mutating admission Webhooks, you may change requests to enforce custom defaults. @@ -54,7 +54,7 @@ In the following, we describe how to quickly experiment with admission webhooks. * Ensure that MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controllers are enabled. - [Here](/docs/admin/admission-controllers.md#is-there-a-recommended-set-of-admission-controllers-to-use) + [Here](/docs/reference/access-authn-authz/admission-controllers/#is-there-a-recommended-set-of-admission-controllers-to-use) is a recommended set of admission controllers to enable in general. * Ensure that the admissionregistration.k8s.io/v1beta1 API is enabled. From b0229a9726fc5d4e0c624aaac4053171908cb0b1 Mon Sep 17 00:00:00 2001 From: ningning54321 <4188458+ningning54321@users.noreply.github.com> Date: Wed, 13 Jun 2018 22:54:08 +0800 Subject: [PATCH 2/2] update per review comments update the url to the final redirect to url. --- .../extensible-admission-controllers.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 1d4b6db4e19a5..6db668307573a 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 @@ -33,9 +33,9 @@ This page describes how to use Admission Webhooks and Initializers. Admission webhooks are HTTP callbacks that receive admission requests and do something with them. You can define two types of admission webhooks, -[validating admission Webhook](/docs/admin/admission-controllers/#validatingadmissionwebhook-alpha-in-1-8-beta-in-1-9) +[validating admission Webhook](/docs/reference/access-authn-authz/admission-controllers/#validatingadmissionwebhook-alpha-in-1-8-beta-in-1-9) and -[mutating admission webhook](/docs/admin/admission-controllers/#mutatingadmissionwebhook-beta-in-1-9). +[mutating admission webhook](/docs/reference/access-authn-authz/admission-controllers/#mutatingadmissionwebhook-beta-in-1-9). With validating admission Webhooks, you may reject requests to enforce custom admission policies. With mutating admission Webhooks, you may change requests to enforce custom defaults. @@ -220,9 +220,9 @@ and are not visible in the API unless specifically requested by using the query ### When to use initializers? Initializers are useful for admins to force policies (e.g., the -[AlwaysPullImages](/docs/admin/admission-controllers/#alwayspullimages) +[AlwaysPullImages](/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) admission controller), or to inject defaults (e.g., the -[DefaultStorageClass](/docs/admin/admission-controllers/#defaultstorageclass) +[DefaultStorageClass](/docs/reference/access-authn-authz/admission-controllers/#defaultstorageclass) admission controller), etc. **Note:** If your use case does not involve mutating objects, consider using