summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/cephadm/templates/services/grafana/grafana.ini.j2
blob: e6c7bce15245148047d9788d8de7e893ad2fc193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# {{ cephadm_managed }}
[users]
  default_theme = light
{% if anonymous_access %}
[auth.anonymous]
  enabled = true
  org_name = 'Main Org.'
  org_role = 'Viewer'
{% endif %}
[server]
  domain = 'bootstrap.storage.lab'
  protocol = {{ protocol }}
  cert_file = /etc/grafana/certs/cert_file
  cert_key = /etc/grafana/certs/cert_key
  http_port = {{ http_port }}
  http_addr = {{ http_addr }}
[snapshots]
  external_enabled = false
[security]
{% if not initial_admin_password %}
  disable_initial_admin_creation = true
{% else %}
  admin_user = admin
  admin_password = {{ initial_admin_password }}
{% endif %}
  cookie_secure = true
  cookie_samesite = none
  allow_embedding = true