Skip to content

Commit bf85335

Browse files
authored
Merge pull request #26302 from RainbowMango/pr_update_admission_controllers
Update validatingadmissionwebhook and mutatingadmissionwebhook docs
2 parents 071e987 + f079aa8 commit bf85335

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

content/en/docs/reference/access-authn-authz/admission-controllers.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,6 @@ and the [example of Limit Range](/docs/tasks/administer-cluster/manage-resources
462462

463463
### MutatingAdmissionWebhook {#mutatingadmissionwebhook}
464464

465-
{{< feature-state for_k8s_version="v1.13" state="beta" >}}
466-
467465
This admission controller calls any mutating webhooks which match the request. Matching
468466
webhooks are called in serial; each one may modify the object if it desires.
469467

@@ -474,7 +472,7 @@ If a webhook called by this has side effects (for example, decrementing quota) i
474472
webhooks or validating admission controllers will permit the request to finish.
475473

476474
If you disable the MutatingAdmissionWebhook, you must also disable the
477-
`MutatingWebhookConfiguration` object in the `admissionregistration.k8s.io/v1beta1`
475+
`MutatingWebhookConfiguration` object in the `admissionregistration.k8s.io/v1`
478476
group/version via the `--runtime-config` flag (both are on by default in
479477
versions >= 1.9).
480478

@@ -486,8 +484,6 @@ versions >= 1.9).
486484
different when read back.
487485
* Setting originally unset fields is less likely to cause problems than
488486
overwriting fields set in the original request. Avoid doing the latter.
489-
* This is a beta feature. Future versions of Kubernetes may restrict the types of
490-
mutations these webhooks can make.
491487
* Future changes to control loops for built-in resources or third-party resources
492488
may break webhooks that work well today. Even when the webhook installation API
493489
is finalized, not all possible webhook behaviors will be guaranteed to be supported
@@ -766,8 +762,6 @@ This admission controller {{< glossary_tooltip text="taints" term_id="taint" >}}
766762

767763
### ValidatingAdmissionWebhook {#validatingadmissionwebhook}
768764

769-
{{< feature-state for_k8s_version="v1.13" state="beta" >}}
770-
771765
This admission controller calls any validating webhooks which match the request. Matching
772766
webhooks are called in parallel; if any of them rejects the request, the request
773767
fails. This admission controller only runs in the validation phase; the webhooks it calls may not
@@ -778,7 +772,7 @@ If a webhook called by this has side effects (for example, decrementing quota) i
778772
webhooks or other validating admission controllers will permit the request to finish.
779773

780774
If you disable the ValidatingAdmissionWebhook, you must also disable the
781-
`ValidatingWebhookConfiguration` object in the `admissionregistration.k8s.io/v1beta1`
775+
`ValidatingWebhookConfiguration` object in the `admissionregistration.k8s.io/v1`
782776
group/version via the `--runtime-config` flag (both are on by default in
783777
versions 1.9 and later).
784778

0 commit comments

Comments
 (0)