consul/agent/xdsv2
Nitya Dhanushkodi 0ec7bddb9a
[Net-5594][Net-7466] v2: Only route to endpoints that implement the port being routed to, and make xdscontroller and xdsv2 golden tests use tenancy (#20356)
* If a workload does not implement a port, it should not be included in the list of endpoints for the Envoy cluster for that port.

* Adds tenancy tests for xds controller and xdsv2 resource generation, and adds all those files.

* The original change in this PR was for filtering the list of endpoints by the port being routed to (bullet 1). Since I made changes to sidecarproxycontroller golden files, I realized some of the golden files were unused because of the tenancy changes, so when I deleted those, that broke xds controller tests which weren't correctly using tenancy. So when I fixed that, then the xdsv2 tests broke, so I added tenancy support there too. So now, from sidecarproxy controller -> xds controller -> xdsv2 we now have tenancy support and all the golden files are lined up.
2024-01-26 10:07:21 -08:00
..
testdata [Net-5594][Net-7466] v2: Only route to endpoints that implement the port being routed to, and make xdscontroller and xdsv2 golden tests use tenancy (#20356) 2024-01-26 10:07:21 -08:00
cluster_resources.go Migrate remaining individual resource tests for service mesh to TestAllResourcesFromSnapshot (#19583) 2023-11-09 20:08:37 +00:00
endpoint_resources.go NET-6385 - Static routes that are inlined in listener filters are also created as a resource. (#19459) 2023-11-07 08:00:08 -07:00
listener_resources.go Net 5092/internal l7 traffic permissions (#20276) 2024-01-23 20:07:58 -06:00
rbac_resources.go Net 5092/internal l7 traffic permissions (#20276) 2024-01-23 20:07:58 -06:00
resources.go NET-6385 - Static routes that are inlined in listener filters are also created as a resource. (#19459) 2023-11-07 08:00:08 -07:00
resources_test.go [Net-5594][Net-7466] v2: Only route to endpoints that implement the port being routed to, and make xdscontroller and xdsv2 golden tests use tenancy (#20356) 2024-01-26 10:07:21 -08:00
route_resources.go NET-6945 - Replace usage of deprecated Envoy field envoy.config.core.v3.HeaderValueOption.append (#20078) 2024-01-04 00:36:25 +00:00