https://rancher.com/ logo
Title
g

gorgeous-match-58406

05/11/2022, 8:26 PM
Hello all! how to add user in rke2?
c

creamy-pencil-82913

05/11/2022, 9:54 PM
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.
g

gorgeous-match-58406

05/12/2022, 2:35 PM
how? do you have documents?