https://rancher.com/ logo
Title
f

freezing-holiday-13112

04/18/2023, 6:41 PM
Installed neuvector with helm and I get this. What setting is needed in the helm chart values to enable Rancher RBAC authentication?
q

quaint-candle-18606

04/18/2023, 7:32 PM
Did you install in a Rancher environment, but from the helm chart via the command line?
Something else?
f

freezing-holiday-13112

04/18/2023, 7:50 PM
I actually used fleet which uses helm charts. Installed it in a Rancher env
a

adventurous-battery-36116

04/18/2023, 8:46 PM
If you’re using Fleet to deploy: #1: Cool! It’s a great way to do it. #2: There are Helm values that are implicitly set when installing via Rancher UI that have to be explicit when installing via Fleet. Namely:
global:
  cattle:
    url: ${rancher_server_api_url}
Also verify that your Helm values specify to use Rancher as the Auth source:
ranchersso:
    enabled: true
f

freezing-holiday-13112

04/18/2023, 8:47 PM
Oh wow thanks!!
q

quaint-candle-18606

04/18/2023, 8:52 PM
@freezing-holiday-13112 How/where do you think this should be better documented?
f

freezing-holiday-13112

04/18/2023, 8:53 PM
I always do helm show command but this would have been hard to figure out from those comments
q

quaint-candle-18606

04/18/2023, 8:53 PM
hmm yeah
The values file would be a great place, but only for those people who look there
f

freezing-holiday-13112

04/18/2023, 8:54 PM
Right, since I use fleet almost exclusively this has become my personal default to figure these things out
As it's the authority documentation in my mind
q

quaint-candle-18606

04/18/2023, 8:55 PM
all very good input. thank you !
f

freezing-holiday-13112

04/18/2023, 9:23 PM
So I already had the ranchersso:
enabled: true
But what would the rancher api url look like?
path-wise
I notice it's not mentioned in the values file
a

adventurous-battery-36116

04/18/2023, 10:42 PM
Should just be the URL you're using to access Rancher
👍 1