permission-manager
permission-manager copied to clipboard
how to add subject to rolebinding or clusterrole binding?
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