Bare Kubernetes clusters don’t really have a concept of a user. Or are you talking about Rancher?
g
gorgeous-match-58406
05/12/2022, 7:04 AM
I’m talking about rke2. Need RBAC functionality.
… without rancher.
c
creamy-pencil-82913
05/12/2022, 2:33 PM
Then you're going to have to create and distribute your own client certificates. The username and group are determined by the CN and O in the certificates subject. The groups get bound to rbac roles, but the username is basically just for your reference, there is no actual user resource.