dhiaayachi / consul

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
https://www.consul.io
Other
0 stars 0 forks source link

1.17.2 - terminating gateway broken by xds changes #1255

Open dhiaayachi opened 1 month ago

dhiaayachi commented 1 month ago

Upgraded to 1.17.2 via the helm chart and am seeing the terminating gateway is broken by #19954

agent/xds/clusters.go:1626 incorrectly restricts envoy to looking at URI SANs that match the hostname provided in config.

However certificates will have a DNS SAN with the hostname value. As a result outbound TLS connections fail on certificate errors.

I believe the fix is to use SanType: envoy_tls_v3.SubjectAltNameMatcher_DNS

Working config pre-upgrade (1.17.1): image

Failing config from 1.17.2: image