k3s/test/integration/auth
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
..
BUILD stop using AlwaysAdmit admission 2018-03-13 20:02:56 +08:00
accessreview_test.go stop using AlwaysAdmit admission 2018-03-13 20:02:56 +08:00
auth_test.go stop using AlwaysAdmit admission 2018-03-13 20:02:56 +08:00
bootstraptoken_test.go stop using AlwaysAdmit admission 2018-03-13 20:02:56 +08:00
main_test.go
node_test.go authz: nodes should not be able to delete themselves 2018-04-20 10:22:07 -07:00
rbac_test.go apiserver: make SecureServingOptions and authz/n options re-usable 2018-02-13 11:16:38 +01:00
svcaccttoken_test.go fix a error in serviceaccount validate. 2018-04-24 14:48:37 +08:00