linkerd2/controller/api/destination/watcher
Alejandro Pedraza d3d7f4e2e2
Destination should return `OpaqueTransport` hint when annotation matches resolved target port (#5458)
The destination service now returns `OpaqueTransport` hint when the annotation
matches the resolve target port. This is different from the current behavior
which always sets the hint when a proxy is present.

Closes #5421

This happens by changing the endpoint watcher to set a pod's opaque port
annotation in certain cases. If the pod already has an annotation, then its
value is used. If the pod has no annotation, then it checks the namespace that
the endpoint belongs to; if it finds an annotation on the namespace then it
overrides the pod's annotation value with that.

Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com>
2021-01-05 14:54:55 -05:00
..
endpoints_watcher.go Destination should return `OpaqueTransport` hint when annotation matches resolved target port (#5458) 2021-01-05 14:54:55 -05:00
endpoints_watcher_test.go Spelling (#4872) 2020-08-12 21:59:50 -07:00
ip_watcher.go Add endpoint to GetProfile response (#5227) 2020-11-18 15:41:25 -05:00
ip_watcher_test.go Add endpoint to GetProfile response (#5227) 2020-11-18 15:41:25 -05:00
k8s.go Return invalid argument for external name services (#3120) 2019-07-29 16:31:22 -07:00
profile_watcher.go Ensure we get the correct type out of Informer Deletion events (#4034) 2020-02-15 10:15:24 +02: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 Ensure we get the correct type out of Informer Deletion events (#4034) 2020-02-15 10:15:24 +02:00
traffic_split_watcher.go Upgrade to client-go 0.17.4 and smi-sdk-go 0.3.0 (#4221) 2020-04-01 10:07:23 -07: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