mirror of https://github.com/linkerd/linkerd2.git
Depends on #1006. Depends on #1041. This PR adds a `tls_identity` field to the endpoint `Metadata` struct, which contains the `TlsIdentity` metadata sent by the control plane's Destination service. I changed the `ctx::transport::Client` context struct to hold a `Metadata`, rather than just the labels, so the TLS support determination is always available. In addition, I've added it as an additional parameter to `transport::Connect::new`, so that when we create a new connection, the TLS code will be able to determine whether or not TLS is supported and, if it is, how to verify the endpoint's identity. Signed-off-by: Eliza Weisman <eliza@buoyant.io> |
||
---|---|---|
.. | ||
benches | ||
controller-grpc | ||
convert | ||
futures-mpsc-lossy | ||
router | ||
src | ||
tests | ||
Cargo.toml | ||
Dockerfile | ||
assert_macro |