linkerd2/controller/api/destination
Alejandro Pedraza 38ec59128e
refactor(multicluster): revert Link permissions back to Role (#13848)
#13783 moved the service mirror permissions on Links from a Role to a ClusterRole as a side-effect, and this change reverts that by refactoring the Links API to allow consuming a namespace-scoped API more easily.

- We introduce in our `k8s.API` type a field `L5dClient` alongside the broad `Client` one, which is constructed via the new function `NewL5dNamespacedAPI()`.
- In the service-mirror `main.go` we use that constructor to acquire `linksAPI`, which is used to configure the informer for handling Link events in this file.
- `linksAPI` is also passed down to instantiations of `RemoteClusterServiceWatcher`, where it's used for the direct kube-apiserver calls and for retrieving a Lister.
2025-03-22 05:44:35 -05:00
..
external-workload build(deps): bump k8s.io/client-go from 0.30.3 to 0.31.0 (#12958) 2024-09-04 09:04:04 -05:00
watcher fix(destination): GetProfile requests targeting pods directly should return endpoint data for running (not necessarily ready) pods (#13557) 2025-01-16 16:55:31 -05:00
client.go build(deps): bump google.golang.org/grpc from 1.63.2 to 1.64.0 (#12593) 2024-05-22 14:40:04 -05:00
dedup_profile_listener.go destination: Avoid sending spurious profile updates (#10517) 2023-03-13 13:36:18 -07:00
default_profile_listener.go destination: Avoid sending spurious profile updates (#10517) 2023-03-13 13:36:18 -07:00
destination_fuzzer.go feat(destination): set parent and profile references (#13292) 2024-11-09 00:11:40 +00:00
endpoint_profile_translator.go feat(destination): introduce transport-protocol outbound TLS mode (#13699) 2025-03-05 13:51:21 -08:00
endpoint_profile_translator_test.go feat(dest): Default meshed traffic to inbound proxy port (#13715) 2025-03-11 15:25:40 -07:00
endpoint_translator.go fix(dest): fallback to default proxy inbound port when one could not be discovered on an ExternalWorkload (#13840) 2025-03-21 15:25:15 +02:00
endpoint_translator_test.go fix(dest): fallback to default proxy inbound port when one could not be discovered on an ExternalWorkload (#13840) 2025-03-21 15:25:15 +02:00
fallback_profile_listener.go destination: Avoid sending spurious profile updates (#10517) 2023-03-13 13:36:18 -07:00
fallback_profile_listener_test.go destination: Avoid sending spurious profile updates (#10517) 2023-03-13 13:36:18 -07:00
federated_service_watcher.go feat(destination): introduce transport-protocol outbound TLS mode (#13699) 2025-03-05 13:51:21 -08:00
federated_service_watcher_test.go Add tests for federated service watcher (#13329) 2024-11-19 10:08:50 -08:00
opaque_ports_adaptor.go destination: Avoid sending spurious profile updates (#10517) 2023-03-13 13:36:18 -07:00
profile_translator.go feat(destination): set parent and profile references (#13292) 2024-11-09 00:11:40 +00:00
profile_translator_test.go feat(destination): set parent and profile references (#13292) 2024-11-09 00:11:40 +00:00
server.go feat(destination): introduce transport-protocol outbound TLS mode (#13699) 2025-03-05 13:51:21 -08:00
server_ipv6_test.go Add IPv6 support for the destination controller (#12428) 2024-05-02 14:39:05 -05:00
server_test.go fix(destination): Do not send admin traffic over opaque transport (#13758) 2025-03-11 12:15:10 -07:00
syncronized_get_stream.go Add federated service watcher (#13267) 2024-11-08 09:34:01 -08:00
test_util.go refactor(multicluster): revert Link permissions back to Role (#13848) 2025-03-22 05:44:35 -05:00