Skip to content

Instantly share code, notes, and snippets.

@chicagobuss
Created January 31, 2018 14:06
Show Gist options
  • Save chicagobuss/33b2a4099484ed28877c27fb4f59a1f4 to your computer and use it in GitHub Desktop.
Save chicagobuss/33b2a4099484ed28877c27fb4f59a1f4 to your computer and use it in GitHub Desktop.
perms in gke k8s 1.8
# If you're having problems creating an admin role binding in k8s on GKE,
# make sure you're a project owner first in the project the cluster is in
# Then you can do this:
~$ kubectl create clusterrolebinding foo-cluster-admin-binding --clusterrole=cluster-admin --user="foo@gmail.com"
clusterrolebinding "foo-cluster-admin-binding" created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment