consul/test/integration/connect/envoy
Freddy 9ed325ba8b
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
case-basic
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
case-cfg-resolver-defaultsubset
case-cfg-resolver-subset-onlypassing
case-cfg-resolver-subset-redirect
case-cfg-resolver-svc-failover
case-cfg-resolver-svc-redirect-http
case-cfg-resolver-svc-redirect-tcp
case-consul-exec
case-dogstatsd-udp
case-gateway-without-services
case-gateways-local Fix flapping of mesh gateway connect-service watches (#7575) 2020-04-02 10:12:13 -05:00
case-gateways-remote
case-grpc
case-http
case-http-badauthz
case-http2
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
case-prometheus
case-stats-proxy
case-statsd-udp
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
case-zipkin
consul-base-cfg
.gitignore
Dockerfile-bats
Dockerfile-consul-envoy
Dockerfile-tcpdump
defaults.sh
docker-compose.yml Enable gateways to resolve hostnames to IPv4 addresses (#7999) 2020-06-03 15:28:45 -06: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