open-consul/test/integration/connect/envoy
Freddy f759a48726
Enable gateways to resolve hostnames to IPv4 addresses (#7999)
The DNS resolution will be handled by Envoy and defaults to LOGICAL_DNS. This discovery type can be overridden on a per-gateway basis with the envoy_dns_discovery_type Gateway Option.

If a service contains an instance with a hostname as an address we set the Envoy cluster to use DNS as the discovery type rather than EDS. Since both mesh gateways and terminating gateways route to clusters using SNI, whenever there is a mix of hostnames and IP addresses associated with a service we use the hostname + CDS rather than the IPs + EDS.

Note that we detect hostnames by attempting to parse the service instance's address as an IP. If it is not a valid IP we assume it is a hostname.
2020-06-03 15:28:45 -06:00
..
case-badauthz Envoy Mesh Gateway integration tests (#6187) 2019-07-24 17:01:42 -04:00
case-basic Envoy Mesh Gateway integration tests (#6187) 2019-07-24 17:01:42 -04:00
case-centralconf Add outlier_detection check to integration test 2020-05-08 14:56:57 -04:00
case-cfg-resolver-dc-failover-gateways-none tests: fixed bats warning (#7544) 2020-03-31 22:29:27 +02:00
case-cfg-resolver-dc-failover-gateways-remote Change where the envoy snapshots get put when a test fails (#7298) 2020-03-05 16:01:10 -05:00
case-cfg-resolver-defaultsubset Envoy Mesh Gateway integration tests (#6187) 2019-07-24 17:01:42 -04:00
case-cfg-resolver-subset-onlypassing Envoy Mesh Gateway integration tests (#6187) 2019-07-24 17:01:42 -04:00
case-cfg-resolver-subset-redirect Envoy Mesh Gateway integration tests (#6187) 2019-07-24 17:01:42 -04:00
case-cfg-resolver-svc-failover Envoy Mesh Gateway integration tests (#6187) 2019-07-24 17:01:42 -04:00
case-cfg-resolver-svc-redirect-http xds: tcp services using the discovery chain should not assume RDS during LDS (#6623) 2019-10-17 16:44:59 -05:00
case-cfg-resolver-svc-redirect-tcp xds: tcp services using the discovery chain should not assume RDS during LDS (#6623) 2019-10-17 16:44:59 -05:00
case-consul-exec Envoy Mesh Gateway integration tests (#6187) 2019-07-24 17:01:42 -04:00
case-dogstatsd-udp xds: improve how envoy metrics are emitted (#6312) 2019-08-16 09:30:17 -05:00
case-gateway-without-services xds: mesh gateway CDS requests are now allowed to receive an empty CDS reply (#6787) 2019-11-26 15:55:13 -06:00
case-gateways-local Fix flapping of mesh gateway connect-service watches (#7575) 2020-04-02 10:12:13 -05:00
case-gateways-remote tests: make envoy integration tests more tolerant of internal retries that may inflate counters (#6539) 2019-09-25 09:08:42 -05:00
case-grpc xds: improve how envoy metrics are emitted (#6312) 2019-08-16 09:30:17 -05:00
case-http xds: improve how envoy metrics are emitted (#6312) 2019-08-16 09:30:17 -05:00
case-http-badauthz xds: improve how envoy metrics are emitted (#6312) 2019-08-16 09:30:17 -05:00
case-http2 Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
case-ingress-gateway-http Require individual services in ingress entry to match protocols (#7774) 2020-05-06 16:09:24 -05:00
case-ingress-gateway-multiple-services Require individual services in ingress entry to match protocols (#7774) 2020-05-06 16:09:24 -05:00
case-ingress-gateway-simple Add TLS integration test for ingress gateway 2020-05-06 15:12:02 -05:00
case-ingress-gateway-tls Set default protocol to http in TLS integration test 2020-05-08 20:23:23 -07:00
case-ingress-mesh-gateways-resolver Allow ingress gateways to route through mesh gateways 2020-04-24 09:31:32 -05:00
case-multidc-rsa-ca Fix support for RSA CA keys in Connect. (#6638) 2019-11-01 13:20:26 +00:00
case-prometheus xds: improve how envoy metrics are emitted (#6312) 2019-08-16 09:30:17 -05:00
case-stats-proxy Expose Envoy's /stats for statsd agents (#7173) 2020-02-03 17:19:34 +00:00
case-statsd-udp xds: improve how envoy metrics are emitted (#6312) 2019-08-16 09:30:17 -05:00
case-terminating-gateway-hostnames Enable gateways to resolve hostnames to IPv4 addresses (#7999) 2020-06-03 15:28:45 -06:00
case-terminating-gateway-simple PR comments 2020-04-27 11:08:41 -06:00
case-terminating-gateway-subsets PR comments 2020-04-27 11:08:41 -06:00
case-terminating-gateway-without-services Add envoy integration tests 2020-04-27 11:08:40 -06:00
case-upstream-config Add outlier_detection check to integration test 2020-05-08 14:56:57 -04:00
case-wanfed-gw wan federation via mesh gateways (#6884) 2020-03-09 15:59:02 -05:00
case-zipkin xds: improve how envoy metrics are emitted (#6312) 2019-08-16 09:30:17 -05:00
consul-base-cfg Envoy Mesh Gateway integration tests (#6187) 2019-07-24 17:01:42 -04:00
.gitignore activate most discovery chain features in xDS for envoy (#6024) 2019-07-01 22:10:51 -05:00
defaults.sh Envoy Mesh Gateway integration tests (#6187) 2019-07-24 17:01:42 -04:00
docker-compose.yml Enable gateways to resolve hostnames to IPv4 addresses (#7999) 2020-06-03 15:28:45 -06:00
Dockerfile-bats Connect: allow configuring Envoy for L7 Observability (#5558) 2019-04-29 17:27:57 +01:00
Dockerfile-consul-envoy Connect: allow configuring Envoy for L7 Observability (#5558) 2019-04-29 17:27:57 +01:00
Dockerfile-tcpdump Updates to Config Entries and Connect for Namespaces (#7116) 2020-01-24 10:04:58 -05:00
helpers.bash Enable gateways to resolve hostnames to IPv4 addresses (#7999) 2020-06-03 15:28:45 -06:00
main_test.go Enable gateways to resolve hostnames to IPv4 addresses (#7999) 2020-06-03 15:28:45 -06:00
run-tests.sh ci: fix log capture for envoy integration tests 2020-06-02 19:24:56 -04:00