kubernetes/plugin/pkg/auth/authorizer/rbac
Kubernetes Submit Queue 15b61bc006
Merge pull request #62818 from mikedanese/selfdelete
Automatic merge from submit-queue (batch tested with PRs 62590, 62818, 63015, 62922, 63000). 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>.

authz: nodes should not be able to delete themselves

@kubernetes/sig-auth-pr-reviews 

```release-note
kubelets are no longer allowed to delete their own Node API object. Prior to 1.11, in rare circumstances related to cloudprovider node ID changes, kubelets would attempt to delete/recreate their Node object at startup. If a legacy kubelet encounters this situation, a cluster admin can remove the Node object:
* `kubectl delete node/<nodeName>`
or grant self-deletion permission explicitly:
* `kubectl create clusterrole self-deleting-nodes --verb=delete --resource=nodes`
* `kubectl create clusterrolebinding self-deleting-nodes --clusterrole=self-deleting-nodes --group=system:nodes`
```
2018-04-24 14:22:13 -07:00
..
bootstrappolicy Merge pull request #62818 from mikedanese/selfdelete 2018-04-24 14:22:13 -07:00
BUILD Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
rbac.go Log rbac info into advanced audit event 2018-03-19 08:37:53 +08:00
rbac_test.go move authorizers over to new interface 2017-11-03 13:46:28 -07:00
subject_locator.go Refactor RBAC authorizer entry points 2017-08-16 11:43:39 -04:00
subject_locator_test.go Switch RBAC subject apiVersion to apiGroup in v1beta1 2017-02-13 15:33:09 -05:00