Update validatingadmissionwebhook and mutatingadmissionwebhook docs as they have been promoted to v1
This commit is contained in:
parent
c782fd6738
commit
f079aa8214
|
@ -462,8 +462,6 @@ and the [example of Limit Range](/docs/tasks/administer-cluster/manage-resources
|
||||||
|
|
||||||
### MutatingAdmissionWebhook {#mutatingadmissionwebhook}
|
### MutatingAdmissionWebhook {#mutatingadmissionwebhook}
|
||||||
|
|
||||||
{{< feature-state for_k8s_version="v1.13" state="beta" >}}
|
|
||||||
|
|
||||||
This admission controller calls any mutating webhooks which match the request. Matching
|
This admission controller calls any mutating webhooks which match the request. Matching
|
||||||
webhooks are called in serial; each one may modify the object if it desires.
|
webhooks are called in serial; each one may modify the object if it desires.
|
||||||
|
|
||||||
|
@ -474,7 +472,7 @@ If a webhook called by this has side effects (for example, decrementing quota) i
|
||||||
webhooks or validating admission controllers will permit the request to finish.
|
webhooks or validating admission controllers will permit the request to finish.
|
||||||
|
|
||||||
If you disable the MutatingAdmissionWebhook, you must also disable the
|
If you disable the MutatingAdmissionWebhook, you must also disable the
|
||||||
`MutatingWebhookConfiguration` object in the `admissionregistration.k8s.io/v1beta1`
|
`MutatingWebhookConfiguration` object in the `admissionregistration.k8s.io/v1`
|
||||||
group/version via the `--runtime-config` flag (both are on by default in
|
group/version via the `--runtime-config` flag (both are on by default in
|
||||||
versions >= 1.9).
|
versions >= 1.9).
|
||||||
|
|
||||||
|
@ -486,8 +484,6 @@ versions >= 1.9).
|
||||||
different when read back.
|
different when read back.
|
||||||
* Setting originally unset fields is less likely to cause problems than
|
* Setting originally unset fields is less likely to cause problems than
|
||||||
overwriting fields set in the original request. Avoid doing the latter.
|
overwriting fields set in the original request. Avoid doing the latter.
|
||||||
* This is a beta feature. Future versions of Kubernetes may restrict the types of
|
|
||||||
mutations these webhooks can make.
|
|
||||||
* Future changes to control loops for built-in resources or third-party resources
|
* Future changes to control loops for built-in resources or third-party resources
|
||||||
may break webhooks that work well today. Even when the webhook installation API
|
may break webhooks that work well today. Even when the webhook installation API
|
||||||
is finalized, not all possible webhook behaviors will be guaranteed to be supported
|
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" >}}
|
||||||
|
|
||||||
### ValidatingAdmissionWebhook {#validatingadmissionwebhook}
|
### ValidatingAdmissionWebhook {#validatingadmissionwebhook}
|
||||||
|
|
||||||
{{< feature-state for_k8s_version="v1.13" state="beta" >}}
|
|
||||||
|
|
||||||
This admission controller calls any validating webhooks which match the request. Matching
|
This admission controller calls any validating webhooks which match the request. Matching
|
||||||
webhooks are called in parallel; if any of them rejects the request, the request
|
webhooks are called in parallel; if any of them rejects the request, the request
|
||||||
fails. This admission controller only runs in the validation phase; the webhooks it calls may not
|
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
|
||||||
webhooks or other validating admission controllers will permit the request to finish.
|
webhooks or other validating admission controllers will permit the request to finish.
|
||||||
|
|
||||||
If you disable the ValidatingAdmissionWebhook, you must also disable the
|
If you disable the ValidatingAdmissionWebhook, you must also disable the
|
||||||
`ValidatingWebhookConfiguration` object in the `admissionregistration.k8s.io/v1beta1`
|
`ValidatingWebhookConfiguration` object in the `admissionregistration.k8s.io/v1`
|
||||||
group/version via the `--runtime-config` flag (both are on by default in
|
group/version via the `--runtime-config` flag (both are on by default in
|
||||||
versions 1.9 and later).
|
versions 1.9 and later).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue