Skip to content
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

add instructions for setting up RBAC roles required on GKE #3051

Closed
rade opened this issue Feb 2, 2018 · 0 comments
Closed

add instructions for setting up RBAC roles required on GKE #3051

rade opened this issue Feb 2, 2018 · 0 comments
Assignees
Labels
chore Related to fix/refinement/improvement of end user or new/existing developer functionality component/docs A documentation issue

Comments

@rade
Copy link
Member

rade commented Feb 2, 2018

Our k8s installation instructions do not mention the magic GKE incantation

kubectl create clusterrolebinding "cluster-admin-$(whoami)" --clusterrole=cluster-admin --user="$(gcloud config get-value core/account)"

that is required for making the installation not explode with something like

Error from server (Forbidden): clusterroles.rbac.authorization.k8s.io "weave-scope" is forbidden: attempt to grant extra privileges: [PolicyRule{Resources:["*"], APIGroups:["*"], Verbs:["*"]} PolicyRule{NonResourceURLs:["*"], Verbs:["*"]}] user=&{allan@17.media  [system:authenticated] map[]} ownerrules=[PolicyRule{Resources:["selfsubjectaccessreviews"], APIGroups:["authorization.k8s.io"], Verbs:["create"]} PolicyRule{NonResourceURLs:["/api" "/api/*" "/apis" "/apis/*" "/healthz" "/swaggerapi" "/swaggerapi/*" "/version"], Verbs:["get"]} PolicyRule{NonResourceURLs:["/swagger-2.0.0.pb-v1"], Verbs:["get"]} PolicyRule{NonResourceURLs:["/swagger.json"], Verbs:["get"]}] ruleResolutionErrors=[]
@rade rade added component/docs A documentation issue chore Related to fix/refinement/improvement of end user or new/existing developer functionality labels Feb 2, 2018
@rade rade self-assigned this Feb 3, 2018
@rade rade closed this as completed in #3052 Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Related to fix/refinement/improvement of end user or new/existing developer functionality component/docs A documentation issue
Projects
None yet
Development

No branches or pull requests

1 participant