consul/agent/xds
Derek Menteer 0379dabe4e
Fix configuration merging for implicit tproxy upstreams. (#16000) (#16007)
Fix configuration merging for implicit tproxy upstreams.

Change the merging logic so that the wildcard upstream has correct proxy-defaults
and service-defaults values combined into it. It did not previously merge all fields,
and the wildcard upstream did not exist unless service-defaults existed (it ignored
proxy-defaults, essentially).

Change the way we fetch upstream configuration in the xDS layer so that it falls back
to the wildcard when no matching upstream is found. This is what allows implicit peer
upstreams to have the correct "merged" config.

Change proxycfg to always watch local mesh gateway endpoints whenever a peer upstream
is found. This simplifies the logic so that we do not have to inspect the "merged"
configuration on peer upstreams to extract the mesh gateway mode.
2023-01-19 10:55:27 -06:00
..
proxysupport Backport of connect: Add Envoy 1.24 to integration tests, remove Envoy 1.20 into release/1.14.x (#15202) 2022-10-31 11:51:08 -04:00
serverlessplugin Fix spelling mistake in serverless patcher (#13607) 2022-06-29 15:21:21 -04:00
testdata Add support for configuring Envoys route idle_timeout (#14340) (#15611) 2022-11-29 17:58:00 -05:00
xdscommon peering: update how cross-peer upstreams and represented in proxycfg and rendered in xds (#13362) 2022-06-03 16:42:50 -05:00
clusters.go Fix configuration merging for implicit tproxy upstreams. (#16000) (#16007) 2023-01-19 10:55:27 -06:00
clusters_test.go Extend tcp keepalive settings to work for terminating gateways as well 2022-10-14 17:05:46 -07:00
config.go Add support for configuring Envoys route idle_timeout (#14340) (#15611) 2022-11-29 17:58:00 -05:00
config_test.go Add support for configuring Envoys route idle_timeout (#14340) (#15611) 2022-11-29 17:58:00 -05:00
delta.go xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00
delta_test.go xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00
endpoints.go Fix configuration merging for implicit tproxy upstreams. (#16000) (#16007) 2023-01-19 10:55:27 -06:00
endpoints_test.go Implement Cluster Peering Redirects (#14445) 2022-09-09 13:58:28 -04:00
envoy_versioning.go Backport of connect: Add Envoy 1.24 to integration tests, remove Envoy 1.20 into release/1.14.x (#15202) 2022-10-31 11:51:08 -04:00
envoy_versioning_test.go Backport of connect: Add Envoy 1.24 to integration tests, remove Envoy 1.20 into release/1.14.x (#15202) 2022-10-31 11:51:08 -04:00
failover_math.go
failover_math_test.go Cluster peering failover disco chain changes (#14296) 2022-08-23 09:13:43 -04:00
golden_test.go connect: Add Envoy 1.21.1 to support matrix, remove 1.17.4 (#12777) 2022-04-14 10:44:42 -07:00
listeners.go Fix configuration merging for implicit tproxy upstreams. (#16000) (#16007) 2023-01-19 10:55:27 -06:00
listeners_ingress.go Configure Envoy alpn_protocols based on service protocol (#14356) 2022-10-10 13:13:56 -07:00
listeners_test.go Add support for configuring Envoys route idle_timeout (#14340) (#15611) 2022-11-29 17:58:00 -05:00
naming.go
net_fallback.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
net_linux.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
protocol_trace.go
rbac.go Backport of Update go version to 1.19 into release/1.14.x (#15139) 2022-10-24 16:12:42 -04:00
rbac_test.go xds: modify rbac rules to use the XFCC header for peered L7 enforcement (#13629) 2022-06-29 10:29:54 -05:00
resources.go xds: remove HTTPCheckFetcher dependency (#13366) 2022-06-06 15:15:33 +01:00
resources_oss_test.go xds: begin refactor to always pass test snapshots through all xDS types (#13461) 2022-06-15 14:58:28 -05:00
resources_test.go feat: xDS updates for peerings control plane through mesh gw 2022-10-07 08:46:42 -06:00
response.go
routes.go Backport of Flakiness test: case-cfg-splitter-peering-ingress-gateways into release/1.14.x (#15725) 2022-12-08 01:30:10 +00:00
routes_test.go xds: begin refactor to always pass test snapshots through all xDS types (#13461) 2022-06-15 14:58:28 -05:00
server.go xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00
server_oss.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
serverless_plugin_oss_test.go Fix spelling mistake in serverless patcher (#13607) 2022-06-29 15:21:21 -04:00
testing.go xds: fix for delta xDS reconnect bug in LDS/CDS (#12174) 2022-01-25 11:24:27 -06:00
xds.go
xds_protocol_helpers_test.go xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00
z_xds_packages.go Add connection limit setting to service defaults 2022-05-24 10:13:38 -07:00
z_xds_packages_test.go