open-consul/agent/xds
Derek Menteer 9b0984e5a6
Fix configuration merging for implicit tproxy upstreams. (#16000)
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-18 13:43:53 -06:00
..
accesslogs [OSS] feat: access logs for listeners and listener filters (#15864) 2022-12-22 15:18:15 -05:00
builtinextensions Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
builtinextensiontemplate Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
proxysupport Enhancement: Consul Compatibility Checking (#15818) 2022-12-20 09:58:19 -08:00
testdata Add the Lua Envoy extension (#15906) 2023-01-06 12:13:40 -05:00
xdscommon Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
builtin_extension_oss_test.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
clusters.go Fix configuration merging for implicit tproxy upstreams. (#16000) 2023-01-18 13:43:53 -06:00
clusters_test.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
config.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
config_test.go Add support for configuring Envoys route idle_timeout (#14340) 2022-11-29 17:43:15 -05:00
delta.go xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
delta_test.go xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
endpoints.go Fix configuration merging for implicit tproxy upstreams. (#16000) 2023-01-18 13:43:53 -06:00
endpoints_test.go ingress-gateways: don't log error when registering gateway (#15001) 2022-10-25 10:55:44 -07:00
envoy_versioning.go Enhancement: Consul Compatibility Checking (#15818) 2022-12-20 09:58:19 -08:00
envoy_versioning_test.go Enhancement: Consul Compatibility Checking (#15818) 2022-12-20 09:58:19 -08:00
extensions.go Add the Lua Envoy extension (#15906) 2023-01-06 12:13:40 -05: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 Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
listeners.go Fix configuration merging for implicit tproxy upstreams. (#16000) 2023-01-18 13:43:53 -06:00
listeners_ingress.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
listeners_test.go [OSS] feat: access logs for listeners and listener filters (#15864) 2022-12-22 15:18:15 -05:00
naming.go
net_fallback.go
net_linux.go
protocol_trace.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
rbac.go Add the Lua Envoy extension (#15906) 2023-01-06 12:13:40 -05:00
rbac_test.go Add the Lua Envoy extension (#15906) 2023-01-06 12:13:40 -05:00
resources.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05: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 Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
routes.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
routes_test.go ingress-gateways: don't log error when registering gateway (#15001) 2022-10-25 10:55:44 -07:00
server.go xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
server_oss.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
testing.go
xds.go
xds_protocol_helpers_test.go xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06: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 Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00