linkerd2/controller/api/destination/watcher
Oliver Gould 6501de61ed
fix(test): avoid duplicate registry errors (#13898)
The destination controller's cluster store registers a gague in its constructor. When this constructor is called multiple times (i.e. in tests), this can lead to a panic.

To avoid this panic, this change updates NewClusterStoreWithDecoder to accept a prometheus registry). The NewClusterStore constructor (used by the application's main) continues to use the default registry, but tests now construct their own temporary registries to avoid duplicate registration errors.
2025-04-03 15:05:24 -05:00
..
cluster_store.go fix(test): avoid duplicate registry errors (#13898) 2025-04-03 15:05:24 -05:00
cluster_store_test.go fix(test): avoid duplicate registry errors (#13898) 2025-04-03 15:05:24 -05:00
endpoints_watcher.go fix(destination): avoid panic on missing managed fields timestamp (#13378) 2024-11-22 15:21:09 -08:00
endpoints_watcher_test.go Rename meshTls to meshTLS in ExternalWorkload CRD (#12098) 2024-02-20 11:00:13 -08:00
k8s.go Add IPv6 support for the destination controller (#12428) 2024-05-02 14:39:05 -05:00
opaque_ports_watcher.go Add informer lag histograms (#11534) 2023-11-08 14:56:20 -05:00
opaque_ports_watcher_test.go build(deps): bump sigs.k8s.io/gateway-api from 0.5.1 to 0.6.0 (#10038) 2023-01-16 09:38:09 -05:00
profile_watcher.go Add informer lag histograms (#11534) 2023-11-08 14:56:20 -05:00
profile_watcher_test.go build(deps): bump sigs.k8s.io/gateway-api from 0.5.1 to 0.6.0 (#10038) 2023-01-16 09:38:09 -05:00
prometheus.go Add support for ExternalWorkloads in endpoint profiles (#11952) 2024-01-23 09:43:12 -08:00
test_util.go Add tests for federated service watcher (#13329) 2024-11-19 10:08:50 -08:00
workload_watcher.go 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
workload_watcher_test.go Add support for ExternalWorkloads in endpoint profiles (#11952) 2024-01-23 09:43:12 -08:00