Skip to content

Instantly share code, notes, and snippets.

@mandarjog
Created June 7, 2018 02:25
Show Gist options
  • Save mandarjog/518098fcc82477dde92da650e9ecd4e9 to your computer and use it in GitHub Desktop.
Save mandarjog/518098fcc82477dde92da650e9ecd4e9 to your computer and use it in GitHub Desktop.
address:
socket_address: { address: $pod_ip, port_value: 8000 }
listener_filters:
- name: "envoy.listener.tls_inspector"
config: {}
filter_chains:
- filter_chain_match:
transport_protocol: "tls"
tls_context:
common_tls_context:
tls_certificates:
- certificate_chain: { filename: "{{ test_rundir }}/test/common/ssl/test_data/san_dns_cert.pem" }
private_key: { filename: "{{ test_rundir }}/test/common/ssl/test_data/san_dns_key.pem" }
# routes that send requests to localhost:8001
- filter_chain_match:
transport_protocol: "raw_buffer"
# routes that only match localhost:8001/health and other white listed paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment