consul/agent/proxycfg
hc-github-team-consul-core 993f2d21c0
Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268)
This add a fix to properly verify the gateway mode before creating a watch specific to mesh gateways. This watch have a high performance cost and when mesh gateways are not used is not used.

This also adds an optimization to only return the nodes when watching the Internal.ServiceDump RPC to avoid unnecessary disco chain compilation. As watches in proxy config only need the nodes.

* backport of commit b0ce20b5e2
* backport of commit 3d4bde00cf
* backport of commit b2c77246b9
* backport of commit e7ab4d418d
* backport of commit d00d9c5da4
* backport of commit b2db3d5eb4
* backport of commit 50fb45ac74
* backport of commit 7b41a61c17
* backport of commit 2fa0e0a629
* backport of commit 88849c9030
* backport of commit 4ac54f10bc
* backport of commit 2a9dfc37f2

---------

Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
2024-01-19 08:17:22 -06:00
..
internal/watch [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
api_gateway.go Add the plumbing for APIGW JWT work (#18609) 2023-08-31 12:23:59 -04:00
api_gateway_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_snapshot_glue.go Run copyright after running deep-copy as part of the Makefile/CI (#18741) 2023-09-11 13:50:52 -04:00
config_snapshot_glue_test.go Run copyright after running deep-copy as part of the Makefile/CI (#18741) 2023-09-11 13:50:52 -04:00
connect_proxy.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
data_sources.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
data_sources_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
deep-copy.sh [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
ingress_gateway.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
manager.go Watch the ProxyTracker from xDS controller (#18611) 2023-08-29 14:39:29 -07:00
manager_test.go Backport of parse config protocol on write to optimize disco-chain compilation into release/1.17.x (#19859) 2023-12-07 15:35:26 -05:00
mesh_gateway.go Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268) 2024-01-19 08:17:22 -06:00
mesh_gateway_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
naming.go OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
naming_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
naming_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
proxycfg.deepcopy.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
proxycfg.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
snapshot_test.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
state.go Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268) 2024-01-19 08:17:22 -06:00
state_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
state_test.go Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268) 2024-01-19 08:17:22 -06:00
terminating_gateway.go Allow connections through Terminating Gateways from peered clusters NET-3463 (#18959) 2023-10-05 21:54:23 +00:00
testing.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing_api_gateway.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
testing_connect_proxy.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing_ingress_gateway.go OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
testing_mesh_gateway.go Backport of parse config protocol on write to optimize disco-chain compilation into release/1.17.x (#19859) 2023-12-07 15:35:26 -05:00
testing_peering.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
testing_terminating_gateway.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
testing_tproxy.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
testing_upstreams.go Backport of parse config protocol on write to optimize disco-chain compilation into release/1.17.x (#19859) 2023-12-07 15:35:26 -05:00
testing_upstreams_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
upstreams.go Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268) 2024-01-19 08:17:22 -06:00