k3s/plugin
Kubernetes Submit Queue ef042450fd Merge pull request #41155 from liggitt/reconcile
Automatic merge from submit-queue (batch tested with PRs 41378, 41413, 40743, 41155, 41385)

Reconcile bootstrap clusterroles on server start

Currently, on server start, bootstrap roles and bindings are only created if there are no existing roles or rolebindings.

Instead, we should look at each bootstrap role and rolebinding, and ensure it exists and has required permissions and subjects at server start. This allows seamless upgrades to new versions that define roles for new controllers, or add permissions to existing roles.

```release-note
Default RBAC ClusterRole and ClusterRoleBinding objects are automatically updated at server start to add missing permissions and subjects (extra permissions and subjects are left in place). To prevent autoupdating a particular role or rolebinding, annotate it with `rbac.authorization.kubernetes.io/autoupdate=false`.
```
2017-02-14 19:54:14 -08:00
..
cmd/kube-scheduler copy pkg/util/logs to apiserver 2017-02-13 12:07:15 -05:00
pkg Merge pull request #41155 from liggitt/reconcile 2017-02-14 19:54:14 -08:00
BUILD mechanical results of client auth plugin 2017-01-20 08:05:18 -05:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00