You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, apparently, deploy_driver.sh example under gcp-compute-persistent-disk-csi-driver assumes that the creator is cluster-admin, which doesn't looks to be the case for GKE-gcloud-connect.
Manually creating relevant binding:
kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user $(gcloud config get-value account)
seems to be enough to make the deployment work.
I verified his recommendation got me past this issue.
The text was updated successfully, but these errors were encountered:
Ah I think this is the issue that in order to create a clusterrole, you need to be cluster admin, and gke doesn't map the Kubernetes admin role to your IAM account by default.
From Leonid:
I verified his recommendation got me past this issue.
The text was updated successfully, but these errors were encountered: