My group is using Grafana from the Prometheus operator chart https://github.com/helm/charts/blob/master/stable/prometheus-operator/values.yaml#L486
Grafana is working and we where able to access using Oauth. Now we have defied a role in our OAuth OIDC server which we need to define (and accept) in Grafana, each user will get his roles according the OAuth server definition.
e.g. role "UserViewer"
How should I configure it in Grafana ? I see this https://grafana.com/docs/grafana/latest/auth/generic-oauth/#role-mapping but It doesn't explain chart installation. any idea how can I configure the role?
if someone know how to configure it on Grafana chart, I mean how should I pass this role json. file it will be helpful https://github.com/grafana/helm2-grafana
How should I do it with helm (update the prom chart with the config) and in addition to monitor the user (in dev) to verify that the role was added to the token.