forked from mtusi2026/mtusi2026lab7
ops: add PKI and HTTPS ingress
This commit is contained in:
@@ -12,8 +12,15 @@ scrape_configs:
|
||||
dns_sd_configs:
|
||||
- names: ["api"]
|
||||
type: A
|
||||
port: 8080
|
||||
port: 9091
|
||||
refresh_interval: 2s
|
||||
scheme: https
|
||||
tls_config:
|
||||
ca_file: /run/security/internal-ca/ca.crt
|
||||
cert_file: /run/security/prometheus/tls.crt
|
||||
key_file: /run/security/prometheus/tls.key
|
||||
server_name: api
|
||||
min_version: TLS13
|
||||
relabel_configs:
|
||||
- target_label: service_name
|
||||
replacement: messenger-api
|
||||
|
||||
Reference in New Issue
Block a user