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

how to add subject to rolebinding or clusterrole binding? #91

Open
alexandershelega opened this issue Oct 19, 2021 · 0 comments
Open

how to add subject to rolebinding or clusterrole binding? #91

alexandershelega opened this issue Oct 19, 2021 · 0 comments

Comments

@alexandershelega
Copy link

alexandershelega commented Oct 19, 2021

Hello how can i make modification in generates bindings?

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  creationTimestamp: "2021-10-19T13:51:31Z"
  labels:
    generated_for_user: username
  name: username___template-namespaced-resources___test___monitoring
  namespace: monitoring
  resourceVersion: "62934390"
  uid: 2b36d436-0b65-493c-822a-45d44d98352f
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: template-namespaced-resources___test
subjects:
- kind: ServiceAccount
  name: username
  namespace: permission-manager

i need to have possibility add group which will based on username

- apiGroup: rbac.authorization.k8s.io
  kind: Group or User
  name: username
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