linkerd2/pkg
Oliver Gould ab90263461
destination: Only return TLS identities when appropriate (#2371)
As described in #2217, the controller returns TLS identities for results even
when the destination pod may not be able to participate in identity
requester: specifically, the other pod may not have the same controller
namespace or it may not be injected with identity.

This change introduces a new annotation, linkerd.io/identity-mode that is set
when injecting pods (via both CLI and webhook). This annotation is always
added.

The destination service now only returns TLS identities when this annotation
is set to optional on a pod and the destination pod uses the same controller.
These semantics are expected to change before the 2.3 release.

Fixes #2217
2019-02-27 12:18:39 -08:00
..
addr lint: Enable scopelint (#2364) 2019-02-24 08:59:51 -08:00
admin lint: Enable unparam (#2369) 2019-02-27 10:34:02 -08:00
filesonly Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00
flags Lessen klog for security (#2386) 2019-02-26 16:00:26 -08:00
healthcheck Authorization-aware control-plane components (#2349) 2019-02-26 11:54:52 -08:00
k8s destination: Only return TLS identities when appropriate (#2371) 2019-02-27 12:18:39 -08:00
profiles Authorization-aware control-plane components (#2349) 2019-02-26 11:54:52 -08:00
prometheus Instrument k8s clients (#2243) 2019-02-18 09:10:02 -08:00
tls Enable gosimple linter, fix issues (#2356) 2019-02-22 17:19:07 -08:00
util Add go linting to CI config (#2018) 2018-12-20 15:33:09 -08:00
version lint: Enable unparam (#2369) 2019-02-27 10:34:02 -08:00