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

create cluster-admin role for kubeflow:default service account so that it can create a tfjob #1882

Closed
amygdala opened this issue Oct 28, 2018 · 3 comments

Comments

@amygdala
Copy link
Contributor

Somewhere in the setup config, we need to add:

kubectl create clusterrolebinding sa-admin --clusterrole=cluster-admin --serviceaccount=kubeflow:default

so that this is true:

kubectl auth can-i -n kubeflow --as=system:serviceaccount:kubeflow:default create tfjobs

@jlewi
Copy link
Contributor

jlewi commented Oct 29, 2018

This is working as intended we want to run as least privilege.

The correct fix is to use a service account which has the appropriate TFJob RBAC permissions.

@etheleon
Copy link

I was not able to install kubeflow pipelines until I ran

kubectl create clusterrolebinding sa-admin --clusterrole=cluster-admin --serviceaccount=kubeflow:default

@jlewi
Copy link
Contributor

jlewi commented Jan 28, 2019

I'm going to close this out since I think the issue is stale; hopefully the issue is fixed by the latest version of kfctl.sh.

@jlewi jlewi closed this as completed Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants