forked from mtusi2026/mtusi2026lab7
lab7: TLS ко всем зависимостям и телеметрии; раздельные роли PostgreSQL (GRANT по коду), ACL Valkey, AMQPS, HTTPS S3, mTLS Collector/Prometheus/Loki/Tempo/Grafana
This commit is contained in:
@@ -6,7 +6,15 @@ stream_over_http_enabled: true
|
||||
|
||||
server:
|
||||
http_listen_port: 3200
|
||||
grpc_listen_address: 127.0.0.1
|
||||
log_level: warn
|
||||
# Lab 7: HTTPS + mandatory client certificate of the internal CA (otel-collector pushes,
|
||||
# grafana queries, prometheus scrapes). gRPC is internal to the single binary: loopback only.
|
||||
http_tls_config:
|
||||
cert_file: /run/secrets/tempo.crt
|
||||
key_file: /run/secrets/tempo.key
|
||||
client_auth_type: RequireAndVerifyClientCert
|
||||
client_ca_file: /run/secrets/internal-ca.crt
|
||||
|
||||
distributor:
|
||||
receivers:
|
||||
@@ -14,6 +22,11 @@ distributor:
|
||||
protocols:
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
tls: # only the Collector (client certificate of the internal CA)
|
||||
cert_file: /run/secrets/tempo.crt
|
||||
key_file: /run/secrets/tempo.key
|
||||
client_ca_file: /run/secrets/internal-ca.crt
|
||||
min_version: "1.2"
|
||||
|
||||
ingester:
|
||||
max_block_duration: 5m # small blocks: a restart loses at most the WAL replay time
|
||||
|
||||
Reference in New Issue
Block a user