Skip to content

Can not add a role to "default" serviceaccount through the console #1191

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

Closed
jorgemoralespou opened this issue Jan 28, 2017 · 2 comments
Closed
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/P2
Milestone

Comments

@jorgemoralespou
Copy link

When you have a project and you want to add a role to the default serviceaccount, this one does not show in the console, so it's not possible to add an additional role, like "view".
image

But the service account is there in the system, as "default" service account is always there even if you delete it, it will get recreated by openshift.
image

@spadgett spadgett added kind/bug Categorizes issue or PR as related to a bug. priority/P2 labels Jan 30, 2017
@spadgett spadgett added this to the 1.5.0 milestone Jan 30, 2017
@benjaminapetersen
Copy link
Contributor

So the API does not return default in the list. I'm going to guess its similar to how it does not return any user who currently has no role. Its not comprehensive.

You can add a role to default if you type it in the input box manually. To make this work, we could make a separate request for serviceaccounts and build the response into the table, listing SAs w/o roles anyway.

Checking with @enj to verify, service accounts would be the only special case (belonging to the namespace), where users, groups, system users & system groups do not.

@jwforres

@enj
Copy link

enj commented Jan 31, 2017

Yeah a special case to list all service accounts in the namespace seems reasonable. All the other tabs are for cluster resources so it does not make sense to list all of those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/P2
Projects
None yet
Development

No branches or pull requests

4 participants