summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/cephadm/templates/services/prometheus/web.yml.j2
blob: c58c580e60e6ba445344371c58240ac1df330501 (plain)
1
2
3
4
5
6
7
8
9
10
11
tls_server_config:
  cert_file: prometheus.crt
  key_file: prometheus.key
{% if enable_mtls %}
  client_auth_type: RequireAndVerifyClientCert
  client_ca_file: root_cert.pem
{% endif %}
{% if enable_basic_auth %}
basic_auth_users:
    {{ prometheus_web_user }}: {{ prometheus_web_password }}
{% endif %}