open-consul/agent/xds
sarahalsmiller 97532900a5
xds: generate endpoints directly from API gateway snapshot (#17390)
* endpoints xds cluster configuration

* resources test fix

* fix reversion in resources_test

* Update agent/proxycfg/api_gateway.go

Co-authored-by: John Maguire <john.maguire@hashicorp.com>

* gofmt

* Modify getReadyUpstreams to filter upstreams by listener (#17410)

Each listener would previously have all upstreams from any route that bound to the listener. This is problematic when a route bound to one listener also binds to other listeners and so includes upstreams for multiple listeners. The list for a given listener would then wind up including upstreams for other listeners.

* Update agent/proxycfg/api_gateway.go

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>

* Restore import blocking

* Skip to next route if route has no upstreams

* cleanup

* change set from bool to empty struct

---------

Co-authored-by: John Maguire <john.maguire@hashicorp.com>
Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2023-05-19 18:50:59 +00:00
..
accesslogs copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
extensionruntime Add Network Filter Support for Envoy Extensions (#17325) 2023-05-12 09:52:50 -07:00
testcommon copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
testdata Pull virtual IPs for filter chains from discovery chains (#17375) 2023-05-17 11:18:39 -07:00
validateupstream-test copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
clusters.go fix panic in `injectSANMatcher` when `tlsContext` is `nil` (#17185) 2023-04-28 16:27:57 -04:00
clusters_test.go Support Envoy's MaxEjectionPercent and BaseEjectionTime config entries for passive health checks (#15979) 2023-04-26 15:59:48 -07:00
config.go Support Envoy's MaxEjectionPercent and BaseEjectionTime config entries for passive health checks (#15979) 2023-04-26 15:59:48 -07:00
config_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
delta.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
delta_envoy_extender_oss_test.go Wasm Envoy HTTP extension (#16877) 2023-04-06 14:12:07 -07:00
delta_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
endpoints.go xds: generate endpoints directly from API gateway snapshot (#17390) 2023-05-19 18:50:59 +00:00
endpoints_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
failover_policy.go [COMPLIANCE] Add Copyright and License Headers (#16854) 2023-04-20 12:40:22 +00:00
failover_policy_oss.go [COMPLIANCE] Add Copyright and License Headers (#16854) 2023-04-20 12:40:22 +00:00
golden_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
listeners.go Pull virtual IPs for filter chains from discovery chains (#17375) 2023-05-17 11:18:39 -07:00
listeners_ingress.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
listeners_test.go Permissive mTLS (#17035) 2023-04-19 14:45:00 -05:00
naming.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
net_fallback.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
net_linux.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
protocol_trace.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
rbac.go Add sameness groups to service intentions. (#17064) 2023-04-20 12:16:04 -04:00
rbac_test.go Add sameness groups to service intentions. (#17064) 2023-04-20 12:16:04 -04:00
resources.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
resources_oss_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
resources_test.go xds: generate endpoints directly from API gateway snapshot (#17390) 2023-05-19 18:50:59 +00:00
response.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
routes.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
routes_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
secrets.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
server.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
server_oss.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
testing.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
xds.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
xds_protocol_helpers_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04: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 copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00