Add empty lines & remove trailing space (#16796)

Let lists be rendered correctly
This commit is contained in:
Jian Zeng
2019-10-12 06:04:05 +08:00
committed by Kubernetes Prow Robot
parent 04476d0c3d
commit 4368f099a7
@@ -463,6 +463,7 @@ and a body containing an `AdmissionReview` object (in the same version they were
with the `response` stanza populated, serialized to JSON. with the `response` stanza populated, serialized to JSON.
At a minimum, the `response` stanza must contain the following fields: At a minimum, the `response` stanza must contain the following fields:
* `uid`, copied from the `request.uid` sent to the webhook * `uid`, copied from the `request.uid` sent to the webhook
* `allowed`, either set to `true` or `false` * `allowed`, either set to `true` or `false`
@@ -1121,6 +1122,7 @@ A webhook must explicitly indicate that it will not have side-effects when run w
or the dry-run request will not be sent to the webhook and the API request will fail instead. or the dry-run request will not be sent to the webhook and the API request will fail instead.
Webhooks indicate whether they have side effects using the `sideEffects` field in the webhook configuration: Webhooks indicate whether they have side effects using the `sideEffects` field in the webhook configuration:
* `Unknown`: no information is known about the side effects of calling the webhook. * `Unknown`: no information is known about the side effects of calling the webhook.
If a request with `dryRun: true` would trigger a call to this webhook, the request will instead fail, and the webhook will not be called. If a request with `dryRun: true` would trigger a call to this webhook, the request will instead fail, and the webhook will not be called.
* `None`: calling the webhook will have no side effects. * `None`: calling the webhook will have no side effects.
@@ -1130,6 +1132,7 @@ If a request with the dry-run attribute would trigger a call to this webhook, th
but if a request with `dryRun: true` is sent to the webhook, the webhook will suppress the side effects (the webhook is `dryRun`-aware). but if a request with `dryRun: true` is sent to the webhook, the webhook will suppress the side effects (the webhook is `dryRun`-aware).
Allowed values: Allowed values:
* In `admissionregistration.k8s.io/v1beta1`, `sideEffects` may be set to `Unknown`, `None`, `Some`, or `NoneOnDryRun`, and defaults to `Unknown`. * In `admissionregistration.k8s.io/v1beta1`, `sideEffects` may be set to `Unknown`, `None`, `Some`, or `NoneOnDryRun`, and defaults to `Unknown`.
* In `admissionregistration.k8s.io/v1`, `sideEffects` must be set to `None` or `NoneOnDryRun`. * In `admissionregistration.k8s.io/v1`, `sideEffects` must be set to `None` or `NoneOnDryRun`.