linkerd2/controller/api/destination/watcher
Alex Leong ea5461f674
Fix identity overrides for endpoint slices (#7243)
When the `mirror.linkerd.io/remote-gateway-identity` and `mirror.linkerd.io/remote-svc-fq-name` annotations are set on an EndpointSlice object, the destination controller does not return the correct identity hints for that endpoint.

We fix an incorrect assignment to fix this.  We also fix some logic that can result in a nil pointer dereference instead of comparing empty strings.  We add a test case to exercise these.

Signed-off-by: Alex Leong <alex@buoyant.io>
2021-11-09 16:38:46 -08:00
..
endpoints_watcher.go Fix identity overrides for endpoint slices (#7243) 2021-11-09 16:38:46 -08:00
endpoints_watcher_test.go Fix identity overrides for endpoint slices (#7243) 2021-11-09 16:38:46 -08:00
k8s.go destination: Remove support for IP Queries in `Get` API (#6018) 2021-04-21 12:40:40 +05:30
opaque_ports_watcher.go Change log level for watchers in destination svc 2021-09-20 09:44:32 +01:00
opaque_ports_watcher_test.go destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30
profile_watcher.go Change log level for watchers in destination svc 2021-09-20 09:44:32 +01:00
profile_watcher_test.go Service Mirroring Component (#4028) 2020-03-02 21:16:08 +02:00
prometheus.go Add support for stateful sets (#3113) 2019-07-24 14:09:46 -07:00
test_util.go remove unused constants (#6630) 2021-08-09 16:23:48 +01:00
traffic_split_watcher.go Change log level for watchers in destination svc 2021-09-20 09:44:32 +01:00
traffic_split_watcher_test.go Upgrade to client-go 0.17.4 and smi-sdk-go 0.3.0 (#4221) 2020-04-01 10:07:23 -07:00