Files
mtusi2026lab7/infra/prometheus/web.yml
T

17 lines
632 B
YAML

# Template for Prometheus HTTPS + mTLS + Basic Auth web config (lab7).
# scripts/init-env.sh renders ./secrets/infra/prometheus_web.yml with generated
# bcrypt hashes for operator, grafana, otel-collector, and prometheus-self.
# No real credentials or password hashes are committed to Git.
tls_server_config:
cert_file: /run/certs/server.crt
key_file: /run/certs/server.key
client_ca_file: /run/certs/ca.crt
client_auth_type: RequireAndVerifyClientCert
min_version: TLS12
basic_auth_users:
operator: __OPERATOR_BCRYPT__
grafana: __GRAFANA_BCRYPT__
otel-collector: __OTEL_BCRYPT__
prometheus-self: __SELF_BCRYPT__