Nathan Coleman
21b3c18d5d
Use a full EndpointRef on ComputedRoutes targets instead of just the ID ( #20400 )
...
* Use a full EndpointRef on ComputedRoutes targets instead of just the ID
Today, the `ComputedRoutes` targets have the appropriate ID set for their `ServiceEndpoints` reference; however, the `MeshPort` and `RoutePort` are assumed to be that of the target when adding the endpoints reference in the sidecar's `ProxyStateTemplate`.
This is problematic when the target lives behind a `MeshGateway` and the `Mesh/RoutePort` used in the sidecar's `ProxyStateTemplate` should be that of the `MeshGateway` instead of the target.
Instead of assuming the `MeshPort` and `RoutePort` when building the `ProxyStateTemplate` for the sidecar, let's just add the full `EndpointRef` -- including the ID and the ports -- when hydrating the computed destinations.
* Make sure the UID from the existing ServiceEndpoints makes it onto ComputedRoutes
* Update test assertions
* Undo confusing whitespace change
* Remove one-line function wrapper
* Use plural name for endpoints ref
* Add constants for gateway name, kind and port names
2024-01-30 16:25:44 -05:00
..
2024-01-26 10:07:21 -08:00
2024-01-24 12:10:20 -06:00
2024-01-24 12:10:20 -06:00
2024-01-24 12:10:20 -06:00
2024-01-24 12:10:20 -06:00
2024-01-24 12:10:20 -06:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2024-01-29 10:43:41 -08:00
2024-01-29 10:43:41 -08:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-10-12 12:04:12 -06:00
2023-12-04 10:25:18 -05:00
2023-10-12 12:04:12 -06:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-10-10 17:34:53 -06:00
2023-12-04 10:25:18 -05:00
2023-10-10 17:34:53 -06:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2024-01-30 16:25:44 -05:00
2024-01-30 16:25:44 -05:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2023-12-04 10:25:18 -05:00
2023-10-14 13:54:08 +00:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2024-01-29 10:43:41 -08:00
2024-01-29 10:43:41 -08:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-25 12:03:45 -06:00
2024-01-29 10:43:41 -08:00
2024-01-29 10:43:41 -08:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-25 12:03:45 -06:00
2024-01-29 10:43:41 -08:00
2024-01-29 10:43:41 -08:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2023-12-04 10:25:18 -05:00
2023-10-13 14:55:58 +00:00
2023-11-14 16:18:20 -05:00
2023-11-14 16:18:20 -05:00
2023-11-14 16:18:20 -05:00
2023-12-04 10:25:18 -05:00
2023-11-15 15:44:53 +00:00
2023-11-28 14:46:11 -06:00
2023-11-28 14:46:11 -06:00
2023-11-28 14:46:11 -06:00
2023-12-04 10:25:18 -05:00
2023-11-29 18:12:42 +00:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2023-12-04 10:25:18 -05:00
2023-10-13 14:55:58 +00:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2023-12-04 10:25:18 -05:00
2023-09-22 10:51:15 -06:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2023-12-04 10:25:18 -05:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2023-12-04 10:25:18 -05:00
2023-10-13 14:55:58 +00:00
2023-11-16 13:03:14 -05:00
2023-11-16 13:03:14 -05:00
2023-11-16 13:03:14 -05:00
2023-12-04 10:25:18 -05:00
2023-11-16 13:03:14 -05:00
2024-01-04 18:42:32 +00:00
2024-01-04 18:42:32 +00:00
2024-01-04 18:42:32 +00:00
2024-01-16 21:48:18 +00:00
2024-01-16 21:48:18 +00:00
2024-01-10 11:05:12 -06:00
2024-01-10 11:05:12 -06:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2023-12-04 10:25:18 -05:00
2023-10-13 15:21:39 -06:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2023-12-04 10:25:18 -05:00
2023-10-13 14:55:58 +00:00
2024-01-24 12:10:20 -06:00
2023-12-04 10:25:18 -05:00
2023-10-13 15:21:39 -06:00
2023-10-13 16:41:22 -04:00
2023-10-13 14:55:58 +00:00
2023-09-22 10:51:15 -06:00
2023-12-04 10:25:18 -05:00
2023-10-13 14:55:58 +00:00
2024-01-29 15:08:31 -05:00
2024-01-10 11:05:12 -06:00