-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GKE: update install docs to mention need for cluster-admin RBAC role #111
Comments
@renaudguerin It may be that your Google user account is not a cluster admin and doesn't have rights to create roles. Your cluster admin needs to explicitly allow you to create roles: https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control#prerequisites_for_using_role-based_access_control |
Thank you. Thanks again |
One of the key design principles of k8s RBAC is that you can't increase your access through other RBAC actions. Your error means you were trying to grant RBAC access to something that your current user itself did not have permissions to access. Those two roles involve reading/writing to Please reopen (or send a suggested PR) if you feel there's more we should add to the sealed-secrets documentation to help avoid similar issues for other users. |
@anguslees I came across the issue again on a different cluster, and it turns out this is a GKE specific problem, see for example this similar Prometheus issue : prometheus-operator/prometheus-operator#357 So, it's actually definitely a case of increasing your own access ! It may be worth adding this extra step for GKE users to the doc indeed. |
Thanks. Reopening so we can track adding a GKE note to the docs. |
I've just tried installing v0.7.0 on a k8s 1.10.5 cluster on GKE, following the instructions :
There's nothing special about our RBAC configuration. Any ideas ?
Thanks
The text was updated successfully, but these errors were encountered: