Last active
October 10, 2018 02:44
-
-
Save heavypackets/e33467be2d397f55f8ee8f6b744ef41b to your computer and use it in GitHub Desktop.
simple-secretes_server-envoy-snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static_resources: | |
listeners: | |
- name: fluentd | |
address: | |
socket_address: { address: 127.0.0.1, port_value: 24224 } | |
filter_chains: | |
- filters: | |
- name: envoy.tcp_proxy | |
config: | |
stat_prefix: ingress_tcp | |
cluster: fluentd | |
... | |
clusters: | |
- name: fluentd | |
connect_timeout: 15s | |
type: STRICT_DNS | |
tls_context: | |
common_tls_context: | |
tls_params: | |
ecdh_curves: "X25519:P-256:P-521:P-384" | |
tls_certificates: | |
certificate_chain: { "filename": "/certs/svid.pem" } | |
private_key: { "filename": "/certs/svid_key.pem" } | |
validation_context: | |
trusted_ca: | |
filename: /certs/svid_bundle.pem | |
verify_subject_alt_name: | |
- "spiffe://example.org/fluentd-proxy" | |
lb_policy: ROUND_ROBIN | |
load_assignment: | |
cluster_name: fluentd | |
endpoints: | |
- lb_endpoints: | |
- endpoint: | |
address: | |
socket_address: | |
address: fluentd-proxy | |
port_value: 24224 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment