Charts: [stable/prometheus-operator] add grafana auth.anonymous option

Created on 29 Oct 2018  路  3Comments  路  Source: helm/charts

Is this a request for help?: Yes


Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST
Which chart:
stable/prometheus-operator

Description:
coreos version of prometheus-operator had anonymous auth Grafana option which was lost after migration.
Could someone please point me on how to work around that (when I'm not deploying Grafana by itself but trough prometheus-operator) or tell if it's OK to request adding this option in prometheus-operator code?
I thought I could pass configmap to Grafana trough prometheus-operator option, but didn't find how to achieve that. If there is no way of altering Grafana installation besides turning it off in prometheus-operator and deploying it separately, I think that it should be added.

Most helpful comment

@paskal You can configure anonymous auth in grafana using something like this

grafana:
  enabled: true
  grafana.ini:
    users:
      viewers_can_edit: true
    auth:
      disable_login_form: true
      disable_signout_menu: true
    auth.anonymous:
      enabled: true
      org_role: Viewer

All 3 comments

@paskal You can configure anonymous auth in grafana using something like this

grafana:
  enabled: true
  grafana.ini:
    users:
      viewers_can_edit: true
    auth:
      disable_login_form: true
      disable_signout_menu: true
    auth.anonymous:
      enabled: true
      org_role: Viewer

My values were not reloaded without --recreate-pods helm option. Works good, thank you!

This is quite annoying for me as well. I would like to add optional automatic annotations to the grafana pods so that the reload would happen automatically.

https://github.com/helm/charts/issues/8798

Was this page helpful?
0 / 5 - 0 ratings