summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/cephadm/templates/services/grafana/grafana.ini.j2
blob: cf23802d71b78d014773c4112843612aebe33f0d (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
# {{ cephadm_managed }}
[users]
  default_theme = light
[auth.anonymous]
  enabled = true
  org_name = 'Main Org.'
  org_role = 'Viewer'
[server]
  domain = 'bootstrap.storage.lab'
  protocol = https
  cert_file = /etc/grafana/certs/cert_file
  cert_key = /etc/grafana/certs/cert_key
  http_port = {{ http_port }}
  http_addr = {{ http_addr }}
[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