k3s/pkg/apis
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
..
abac mechanical repercussions 2017-01-13 08:27:14 -05:00
apps move metav1 conversions to metav1 2017-02-14 11:47:23 -05:00
authentication install authentication.k8s.io/v1, add tests 2017-02-07 01:44:56 -05:00
authorization install authorization.k8s.io/v1, add tests 2017-02-06 18:16:51 -05:00
autoscaling Generated Files for autoscaling/v2alpha1 2017-02-07 22:25:27 -05:00
batch Avoid closing over range variables 2017-02-06 16:02:21 +01:00
certificates Add custom conversion funcs not directly into pkg/api.Scheme 2017-02-05 15:01:47 +01:00
componentconfig Set EnableCRI to true by default 2017-02-14 16:15:51 -08:00
extensions move metav1 conversions to metav1 2017-02-14 11:47:23 -05:00
imagepolicy Update protobufs 2017-02-02 06:58:29 +01:00
meta/v1 genericapiserver: get rid of pkg/genericapiserver/server/openapi/common 2017-01-19 13:06:47 +01:00
policy Update protobufs 2017-02-02 06:58:29 +01:00
rbac Reconcile bootstrap clusterroles on server start 2017-02-14 12:33:05 -05:00
storage Update protobufs 2017-02-02 06:58:29 +01:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00