• Kubernetes Submit Queue's avatar
    Merge pull request #46750 from cjcullen/grabbag · c0a3d267
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Remove e2e-rbac-bindings.
    
    Replace todo-grabbag binding w/ more specific heapster roles/bindings.
    Move kubelet binding.
    
    **What this PR does / why we need it**:
    The "e2e-rbac-bindings" held 2 leftovers from the 1.6 RBAC rollout process:
     - One is the "kubelet-binding" which grants the "system:node" role to kubelet. This is needed until we enable the node authorizer. I moved this to the folder w/ some other kubelet related bindings.
     - The other is the "todo-remove-grabbag-cluster-admin" binding, which grants the cluster-admin role to the default service account in the kube-system namespace. This appears to only be required for heapster. Heapster will instead use a "heapster" service account, bound to a "system:heapster" role on the cluster (no write perms), and a "system:pod-nanny" role in the kube-system namespace.
    
    **Which issue this PR fixes**: Addresses part of #39990
    
    **Release Note**: 
    ```release-note
    New and upgraded 1.7 GCE/GKE clusters no longer have an RBAC ClusterRoleBinding that grants the `cluster-admin` ClusterRole to the `default` service account in the `kube-system` namespace.
    If this permission is still desired, run the following command to explicitly grant it, either before or after upgrading to 1.7:
        kubectl create clusterrolebinding kube-system-default --serviceaccount=kube-system:default --clusterrole=cluster-admin
    ```
    c0a3d267
Name
Last commit
Last update
..
addon-manager Loading commit data...
calico-policy-controller Loading commit data...
cluster-loadbalancing Loading commit data...
cluster-monitoring Loading commit data...
dashboard Loading commit data...
dns Loading commit data...
dns-horizontal-autoscaler Loading commit data...
etcd-empty-dir-cleanup Loading commit data...
fluentd-elasticsearch Loading commit data...
fluentd-gcp Loading commit data...
ip-masq-agent Loading commit data...
metadata-proxy Loading commit data...
node-problem-detector Loading commit data...
podsecuritypolicies Loading commit data...
python-image Loading commit data...
rbac Loading commit data...
registry Loading commit data...
storage-class Loading commit data...
BUILD Loading commit data...
README.md Loading commit data...