Corrected the group in runtime-config of ValidatingAdmissionWebhook and

MutatingAdmissionWebhook. It should be admissionregistration.k8s.io (was admissionregistration).
This commit is contained in:
Yu Liao
2018-01-06 09:40:33 -08:00
parent 4f283b03b2
commit 8b374c0ca8
+2 -2
View File
@@ -321,7 +321,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/v1beta1` `MutatingWebhookConfiguration` object in the `admissionregistration.k8s.io/v1beta1`
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).
@@ -522,7 +522,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/v1beta1` `ValidatingWebhookConfiguration` object in the `admissionregistration.k8s.io/v1beta1`
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).