open-consul/agent/proxycfg
freddygv 520507232f Manage local server watches depending on mesh cfg
Routing peering control plane traffic through mesh gateways can be
enabled or disabled at runtime with the mesh config entry.

This commit updates proxycfg to add or cancel watches for local servers
depending on this central config.

Note that WAN federation over mesh gateways is determined by a service
metadata flag, and any updates to the gateway service registration will
force the creation of a new snapshot. If enabled, WAN-fed over mesh
gateways will trigger a local server watch on initialize().

Because of this we will only add/remove server watches if WAN federation
over mesh gateways is disabled.
2022-09-22 19:32:10 -06:00
..
internal/watch feat: connect proxy xDS for destinations 2022-07-14 15:27:02 -04:00
connect_proxy.go Finish up cluster peering failover (#14396) 2022-08-30 11:46:34 -04:00
data_sources.go proxycfg-glue: server-local implementation of IntentionUpstreamsDestination 2022-09-06 23:27:25 +01:00
data_sources_oss.go
ingress_gateway.go Finish up cluster peering failover (#14396) 2022-08-30 11:46:34 -04:00
manager.go proxycfg: terminate stream on irrecoverable errors 2022-08-23 20:17:49 +01:00
manager_test.go feat: connect proxy xDS for destinations 2022-07-14 15:27:02 -04:00
mesh_gateway.go Manage local server watches depending on mesh cfg 2022-09-22 19:32:10 -06:00
mesh_gateway_oss.go
naming.go Cluster peering failover disco chain changes (#14296) 2022-08-23 09:13:43 -04:00
naming_oss.go
naming_test.go Cluster peering failover disco chain changes (#14296) 2022-08-23 09:13:43 -04:00
proxycfg.go
snapshot.go Manage local server watches depending on mesh cfg 2022-09-22 19:32:10 -06:00
state.go proxycfg: terminate stream on irrecoverable errors 2022-08-23 20:17:49 +01:00
state_oss_test.go
state_test.go Manage local server watches depending on mesh cfg 2022-09-22 19:32:10 -06:00
terminating_gateway.go
testing.go proxycfg-glue: server-local implementation of InternalServiceDump 2022-09-06 23:27:25 +01:00
testing_connect_proxy.go
testing_ingress_gateway.go
testing_mesh_gateway.go proxycfg-glue: server-local implementation of InternalServiceDump 2022-09-06 23:27:25 +01:00
testing_oss.go
testing_peering.go Make envoy resources for inferred peered upstreams (#13758) 2022-07-19 14:56:28 -04:00
testing_terminating_gateway.go inject gateway addons to destination clusters (#13951) 2022-07-28 15:17:35 -04:00
testing_tproxy.go Tgtwy egress HTTP support (#13953) 2022-08-01 14:12:43 -04:00
testing_upstreams.go Implement Cluster Peering Redirects (#14445) 2022-09-09 13:58:28 -04:00
upstreams.go proxycfg-glue: server-local implementation of InternalServiceDump 2022-09-06 23:27:25 +01:00