Files
mtusi2026lab7/infra/envoy/loki.yaml
T
AndrewNikkk a25f357314
Skeleton contracts / contracts (pull_request) Blocked by required conditions
lab7
2026-11-26 23:34:55 +03:00

53 lines
1.6 KiB
YAML

static_resources:
clusters:
- connect_timeout: 3s
load_assignment:
cluster_name: local_13100
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: 127.0.0.1
port_value: 13100
name: local_13100
type: STATIC
listeners:
- address:
socket_address:
address: 0.0.0.0
port_value: 3100
filter_chains:
- filters:
- name: envoy.filters.network.tcp_proxy
typed_config:
'@type': type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
cluster: local_13100
stat_prefix: local_13100
transport_socket:
name: envoy.transport_sockets.tls
typed_config:
'@type': type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
common_tls_context:
tls_certificates:
- certificate_chain:
filename: /identity/loki.crt
private_key:
filename: /identity/loki.key
tls_params:
tls_minimum_protocol_version: TLSv1_2
validation_context:
crl:
filename: /pki/ca.crl
match_typed_subject_alt_names:
- matcher:
exact: otel-collector
san_type: DNS
- matcher:
exact: grafana
san_type: DNS
trusted_ca:
filename: /pki/ca.crt
require_client_certificate: true
name: tls_3100