consul/agent/proxycfg
freddygv d818d7b096 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 proxycfg: replace direct agent cache usage with interfaces (#13320) 2022-06-01 16:18:06 +01:00
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 proxycfg: remove dependency on `cache.UpdateEvent` (#13144) 2022-05-20 15:47:40 +01:00
naming.go Cluster peering failover disco chain changes (#14296) 2022-08-23 09:13:43 -04:00
naming_oss.go peering: Make Upstream peer-aware (#12900) 2022-04-29 18:12:51 -04:00
naming_test.go Cluster peering failover disco chain changes (#14296) 2022-08-23 09:13:43 -04:00
proxycfg.go Enable servers to configure arbitrary proxies from the catalog (#13244) 2022-05-27 12:38:52 +01:00
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 proxycfg: replace direct agent cache usage with interfaces (#13320) 2022-06-01 16:18:06 +01:00
state_test.go Manage local server watches depending on mesh cfg 2022-09-22 19:32:10 -06:00
terminating_gateway.go proxycfg: server-local intentions data source 2022-07-04 10:48:36 +01:00
testing.go proxycfg-glue: server-local implementation of InternalServiceDump 2022-09-06 23:27:25 +01:00
testing_connect_proxy.go proxycfg: server-local intentions data source 2022-07-04 10:48:36 +01:00
testing_ingress_gateway.go fix: multiple grpc/http2 services for ingress listeners 2022-05-26 10:43:58 -04:00
testing_mesh_gateway.go proxycfg-glue: server-local implementation of InternalServiceDump 2022-09-06 23:27:25 +01:00
testing_oss.go proxycfg: replace direct agent cache usage with interfaces (#13320) 2022-06-01 16:18:06 +01:00
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