mirror of https://github.com/linkerd/linkerd2.git
## Motivation These changes came up when testing mock identity. I found it useful for the destination client to print the identity of endpoints. ``` ❯ go run controller/script/destination-client/main.go -method get -path h1.test.example.com:8080 INFO[0000] Add: INFO[0000] labels: map[concrete:h1.test.example.com:8080] INFO[0000] - 127.0.0.1:4143 INFO[0000] - labels: map[addr:127.0.0.1:4143 h2:false] INFO[0000] - protocol hint: UNKNOWN INFO[0000] - identity: dns_like_identity:{name:"foo.ns1.serviceaccount.identity.linkerd.cluster.local"} INFO[0000] ``` I also fixed a log line in the proxy-identity where used the wrong value for the CSR path Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> |
||
---|---|---|
.. | ||
main.go |