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

Subjects in clusterRoleBinding should be strict #206

Open
dene14 opened this issue Dec 17, 2018 · 0 comments
Open

Subjects in clusterRoleBinding should be strict #206

dene14 opened this issue Dec 17, 2018 · 0 comments

Comments

@dene14
Copy link

dene14 commented Dec 17, 2018

RBAC doesn't include realm name and authenticator right now, just a group in the realm, which may lead to collision if groups in different realms/authenticators named in the same way but should have different access privileges, for e.g. you have a group in Github Org named devs and you also use another authenticator that has a group with the same name but including people those are not allowed to access.
Thus in order to avoid collision/leak subjects in clusterRoleBinding should look like this:

subjects:
- apiGroup: rbac.authorization.k8s.io
  kind: Group
  name: Authenticator/Realm/GroupName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant