• 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
..
addons Loading commit data...
aws Loading commit data...
centos Loading commit data...
gce Loading commit data...
gke Loading commit data...
images Loading commit data...
juju Loading commit data...
kubemark Loading commit data...
lib Loading commit data...
libvirt-coreos Loading commit data...
local Loading commit data...
openstack-heat Loading commit data...
photon-controller Loading commit data...
saltbase Loading commit data...
skeleton Loading commit data...
vagrant Loading commit data...
vsphere Loading commit data...
windows Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
clientbin.sh Loading commit data...
common.sh Loading commit data...
get-kube-binaries.sh Loading commit data...
get-kube-local.sh Loading commit data...
get-kube.sh Loading commit data...
kube-down.sh Loading commit data...
kube-push.sh Loading commit data...
kube-up.sh Loading commit data...
kube-util.sh Loading commit data...
kubeadm.sh Loading commit data...
kubectl.sh Loading commit data...
log-dump.sh Loading commit data...
options.md Loading commit data...
restore-from-backup.sh Loading commit data...
test-e2e.sh Loading commit data...
test-network.sh Loading commit data...
test-smoke.sh Loading commit data...
update-storage-objects.sh Loading commit data...
validate-cluster.sh Loading commit data...