title: Adding grafana role for admin and viewer
body: <p>My group is using Grafana from the Prometheus operator chart
  <a href="https://github.com/helm/charts/blob/master/stable/prometheus-operator/values.yaml#L486" rel="nofollow noreferrer">https://github.com/helm/charts/blob/master/stable/prometheus-operator/values.yaml#L486</a></p>
  <p>Grafana is working and we where able to access using Oauth.
  Now we have defied a <strong>role</strong> 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.</p>
  <p>e.g. role &quot;UserViewer&quot;</p>
  <p>How should I configure it in Grafana ?
  I see this <a href="https://grafana.com/docs/grafana/latest/auth/generic-oauth/#role-mapping" rel="nofollow noreferrer">https://grafana.com/docs/grafana/latest/auth/generic-oauth/#role-mapping</a> but It doesn't explain chart installation. any idea how can I configure the role?</p>
  <p>if someone know how to configure it on Grafana chart, I mean how should I pass this role json. file it will be helpful
  <a href="https://github.com/grafana/helm2-grafana" rel="nofollow noreferrer">https://github.com/grafana/helm2-grafana</a></p>
  <p>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.</p>