k3s/test/integration
Kubernetes Submit Queue 0e6d3f2abe
Merge pull request #65150 from jennybuckley/create-on-update-authorizer
Automatic merge from submit-queue (batch tested with PRs 65677, 65711, 65150, 65726). 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>.

 Add additional authorization check for create-on-update

**What this PR does / why we need it**:
Currently it is possible for a user who is only authorized to update objects to send a PUT request for an object that doesn't currently exist, and if that resource allows create on update, it will all them to create the object. This PR fixes that bug and adds a test case which fails on master, but succeeds when the additional authorization check is done.

/sig api-machinery
/kind bug
/cc @liggitt @lavalamp 

**Release note**:
```release-note
LimitRange and Endpoints resources can be created via an update API call if the object does not already exist. When this occurs, an authorization check is now made to ensure the user making the API call is authorized to create the object. In previous releases, only an update authorization check was performed.
```
2018-07-03 16:35:11 -07:00
..
apiserver Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
auth Add additional authorization check for create-on-update 2018-07-03 11:20:16 -07:00
benchmark/jsonify Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
client Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
configmap Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
daemonset Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
defaulttolerationseconds Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
deployment Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
etcd Enable coordination api group 2018-06-27 13:30:13 +02:00
evictions Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
examples Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
framework Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
garbagecollector Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
ipamperf Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
master Add support for linux abstract socket namespace. 2018-06-25 09:41:14 -07:00
metrics Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
objectmeta Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
openshift Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
pods Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
quota Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
replicaset Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
replicationcontroller Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
scale Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
scheduler Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
scheduler_perf Merge pull request #64936 from wgliang/master.scheduler_perf_test 2018-06-22 19:03:16 -07:00
secrets Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
serviceaccount Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
statefulset Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
storageclasses Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
tls master count and lease endpoint tests 2018-04-27 13:03:31 -05:00
ttlcontroller Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
util Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
volume Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
benchmark-controller.json Use pause manifest image 2018-04-06 11:00:50 +05:30
doc.go
utils.go aesgcm - passing 2018-01-31 10:50:11 -08:00