https://rancher.com/ logo
Title
s

salmon-hair-21488

03/28/2023, 2:29 PM
Hello, can someone point me in the right direction how to bind google oauth user with RBAC and generate a kubeconfig specific for that user?
r

rough-farmer-49135

03/28/2023, 2:40 PM
The way I know to bind any external auth with Rancher is as admin go into the config for users or authentication sources (they were near each other in the top left menu) and with the versions I used (been a while) you could set exactly one external source. After doing that you could log in with a user and then go back in as admin and set the privileges you want for the user. After that you can log in as the user and download your own kubeconfig for the user. There are potentially more scriptable ways, but that's what I was aware of and I don't have a Rancher instance to poke at just now.