Skip to content

Commit

Permalink
Merge pull request #177 from AccessibleAI/DEV-22313-grafana-disable-a…
Browse files Browse the repository at this point in the history
…dmin

grafana - disable login; anonymous user viewer
  • Loading branch information
Dimss authored Jul 16, 2024
2 parents 4411f59 + 5e142d8 commit 6a59f62
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/app/dbs/tmpl/prom/grafana/dep.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,17 @@ spec:
- name: GF_AUTH_ANONYMOUS_ENABLED
value: "true"
- name: GF_AUTH_ANONYMOUS_ORG_ROLE
value: Admin
value: Viewer
- name: GF_AUTH_ORG_ROLE
value: Viewer
- name: GF_SECURITY_ALLOW_EMBEDDING
value: "true"
- name: GF_SERVER_HTTP_ADDR
value: "0.0.0.0"
- name: GF_AUTH_DISABLE_LOGIN_FORM
value: "true"
- name: GF_DISABLE_INITIAL_ADMIN_CREATION
value: "true"
- name: GF_SERVER_HTTP_PORT
value: "{{ .Spec.Dbs.Prom.Grafana.Port }}"
ports:
Expand Down

0 comments on commit 6a59f62

Please sign in to comment.