k3s/pkg
Kubernetes Submit Queue 5a16163c87
Merge pull request #66936 from jennybuckley/dry-run-webhooks
Automatic merge from submit-queue (batch tested with PRs 67576, 66936). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Support dry run in admission webhooks

**What this PR does / why we need it**:
Follow up to https://github.com/kubernetes/kubernetes/pull/66391
- [x] add DryRun to ```admission.k8s.io/v1beta1.AdmissionReview```
- [x] add DryRunnable to ```admissionregistration.k8s.io/v1beta1.(Valid|Mut)atingWebhookConfiguration```
- [x] add dry run support to (Valid|Mut)atingAdmissionWebhook

Includes all the api-changes outlined by https://github.com/kubernetes/community/pull/2387

/sig api-machinery

**Release note**:
```release-note
To address the possibility dry-run requests overwhelming admission webhooks that rely on side effects and a reconciliation mechanism, a new field is being added to admissionregistration.k8s.io/v1beta1.ValidatingWebhookConfiguration and admissionregistration.k8s.io/v1beta1.MutatingWebhookConfiguration so that webhooks can explicitly register as having dry-run support. If a dry-run request is made on a resource that triggers a non dry-run supporting webhook, the request will be completely rejected, with "400: Bad Request". Additionally, a new field is being added to the admission.k8s.io/v1beta1.AdmissionReview API object, exposing to webhooks whether or not the request being reviewed is a dry-run.
```
2018-08-22 19:41:58 -07:00
..
api Allow headless svc without ports to have endpoints 2018-08-21 08:36:27 -07:00
apis Update generated 2018-08-22 16:54:41 -07:00
auth
capabilities
client Merge pull request #66722 from luxas/reference_new_generic_structs 2018-08-14 22:43:22 -07:00
cloudprovider Merge pull request #63512 from awly/gce-provider-dns-names 2018-08-22 18:20:34 -07:00
controller Merge pull request #67485 from linyouchong/pr-0816 2018-08-21 21:10:05 -07:00
credentialprovider
features Merge pull request #67077 from vikaschoudhary16/scope-selectors-beta 2018-08-09 19:31:04 -07:00
fieldpath
generated run "make update" 2018-07-30 15:56:39 +08:00
kubeapiserver Merge pull request #67497 from yue9944882/refactor/externalize-node-informer-clientset 2018-08-21 13:00:01 -07:00
kubectl Merge pull request #67698 from soltysh/fix_create 2018-08-22 14:17:18 -07:00
kubelet Merge pull request #67430 from choury/cpumanager 2018-08-21 23:20:58 -07:00
kubemark update bazel 2018-08-16 09:59:33 +08:00
master Add sig/api-machinery label to apimachinery OWNERS files 2018-08-20 18:46:47 +05:30
printers Merge pull request #67658 from soltysh/staging_cli_runtime 2018-08-21 16:20:55 -07:00
probe
proxy Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
quota Add sig/api-machinery label to apimachinery OWNERS files 2018-08-20 18:46:47 +05:30
registry Merge pull request #67372 from tanshanshan/priority-814 2018-08-16 10:34:15 -07:00
routes
scheduler Merge pull request #66862 from resouer/sync-map 2018-08-21 00:24:01 -07:00
security
securitycontext
serviceaccount externalize serviceaacount admission controller 2018-08-22 11:41:54 +08:00
ssh
util Merge pull request #66639 from hanxiaoshuai/fix07251 2018-08-19 22:40:00 -07:00
version
volume Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
watch/json
windows/service
.import-restrictions
BUILD util for external pv 2018-08-17 11:14:42 +08:00
OWNERS