This commit is contained in:
2026-11-26 23:34:55 +03:00
parent 20afc2c790
commit a25f357314
167 changed files with 33202 additions and 89 deletions
+49
View File
@@ -0,0 +1,49 @@
static_resources:
clusters:
- connect_timeout: 3s
load_assignment:
cluster_name: local_8080
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: 127.0.0.1
port_value: 8080
name: local_8080
type: STATIC
listeners:
- address:
socket_address:
address: 0.0.0.0
port_value: 8443
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_8080
stat_prefix: local_8080
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/api.crt
private_key:
filename: /identity/api.key
tls_params:
tls_minimum_protocol_version: TLSv1_2
validation_context:
crl:
filename: /pki/ca.crl
match_typed_subject_alt_names:
- matcher:
exact: client-api
san_type: DNS
trusted_ca:
filename: /pki/ca.crt
require_client_certificate: true
name: tls_8443