forked from mtusi2026/mtusi2026lab7
99 lines
3.0 KiB
YAML
99 lines
3.0 KiB
YAML
static_resources:
|
|
clusters:
|
|
- connect_timeout: 3s
|
|
load_assignment:
|
|
cluster_name: local_14318
|
|
endpoints:
|
|
- lb_endpoints:
|
|
- endpoint:
|
|
address:
|
|
socket_address:
|
|
address: 127.0.0.1
|
|
port_value: 14318
|
|
name: local_14318
|
|
type: STATIC
|
|
- connect_timeout: 3s
|
|
load_assignment:
|
|
cluster_name: local_19464
|
|
endpoints:
|
|
- lb_endpoints:
|
|
- endpoint:
|
|
address:
|
|
socket_address:
|
|
address: 127.0.0.1
|
|
port_value: 19464
|
|
name: local_19464
|
|
type: STATIC
|
|
listeners:
|
|
- address:
|
|
socket_address:
|
|
address: 0.0.0.0
|
|
port_value: 4318
|
|
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_14318
|
|
stat_prefix: local_14318
|
|
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/otel-collector.crt
|
|
private_key:
|
|
filename: /identity/otel-collector.key
|
|
tls_params:
|
|
tls_minimum_protocol_version: TLSv1_2
|
|
validation_context:
|
|
crl:
|
|
filename: /pki/ca.crl
|
|
match_typed_subject_alt_names:
|
|
- matcher:
|
|
exact: api
|
|
san_type: DNS
|
|
- matcher:
|
|
exact: worker
|
|
san_type: DNS
|
|
trusted_ca:
|
|
filename: /pki/ca.crt
|
|
require_client_certificate: true
|
|
name: tls_4318
|
|
- address:
|
|
socket_address:
|
|
address: 0.0.0.0
|
|
port_value: 9464
|
|
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_19464
|
|
stat_prefix: local_19464
|
|
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/otel-collector.crt
|
|
private_key:
|
|
filename: /identity/otel-collector.key
|
|
tls_params:
|
|
tls_minimum_protocol_version: TLSv1_2
|
|
validation_context:
|
|
crl:
|
|
filename: /pki/ca.crl
|
|
match_typed_subject_alt_names:
|
|
- matcher:
|
|
exact: prometheus
|
|
san_type: DNS
|
|
trusted_ca:
|
|
filename: /pki/ca.crt
|
|
require_client_certificate: true
|
|
name: tls_9464
|