Add a note about the required cn for ValidatingWebhookConfiguration (#7808)

* Add a note about the required cn for ValidatingWebhookConfiguration

* Move extra info for cn of ValidatingWebhookConfiguration into a comment
pull/7921/merge
Alvaro Aleman 2018-04-13 11:23:59 +02:00 committed by k8s-ci-robot
parent 6a0f999807
commit 1b02b3a4b2
1 changed files with 3 additions and 0 deletions

View File

@ -119,6 +119,9 @@ webhooks:
caBundle: <pem encoded ca cert that signs the server cert used by the webhook> caBundle: <pem encoded ca cert that signs the server cert used by the webhook>
``` ```
*Note*: When using `clientConfig.service`, the server cert must be valid for
`<svc_name>.<svc_namespace>.svc`.
When an apiserver receives a request that matches one of the `rules`, the When an apiserver receives a request that matches one of the `rules`, the
apiserver sends an `admissionReview` request to webhook as specified in the apiserver sends an `admissionReview` request to webhook as specified in the
`clientConfig`. `clientConfig`.