linkerd2/cli/cmd/testdata/inject-filepath/expected
Kevin Leimkuhler 8d9cfbf670
Inject Tap service name into proxy PodSpec (#3155)
### Summary

In order for Pods' tap servers to start authorizing tap clients, the tap server
must be able to check client names against the expected tap service name.

This change injects the `LINKERD2_PROXY_TAP_SVC_NAME` into proxy PodSpecs.

### Details

The tap servers on the individual resources being tapped should be able to
verify that the client is the tap service. The `LINKERD2_PROXY_TAP_SVC_NAME` is
now injected as an environment variable in the proxies so that it can check this
value against the client name of the TLS connection. Currently, this environment
will go unused. There is an open PR (linkerd2-proxy#290) to use this variable in
the proxy, but this is *not* dependent on that merging first. 

Note: The variable is not injected if tap is disabled.

### Testing

Test output has been updated with the newly injected environment variable.

Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
2019-07-29 15:05:45 -07:00
..
injected_nginx.stderr Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
injected_nginx.stderr.verbose Add pod spec annotation to disable injection in CLI and auto-injector (#2187) 2019-02-01 16:57:06 -08:00
injected_nginx.yaml Inject Tap service name into proxy PodSpec (#3155) 2019-07-29 15:05:45 -07:00
injected_nginx_redis.stderr Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
injected_nginx_redis.stderr.verbose Add pod spec annotation to disable injection in CLI and auto-injector (#2187) 2019-02-01 16:57:06 -08:00
injected_nginx_redis.yaml Inject Tap service name into proxy PodSpec (#3155) 2019-07-29 15:05:45 -07:00
injected_redis.stderr Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
injected_redis.stderr.verbose Add pod spec annotation to disable injection in CLI and auto-injector (#2187) 2019-02-01 16:57:06 -08:00
injected_redis.yaml Inject Tap service name into proxy PodSpec (#3155) 2019-07-29 15:05:45 -07:00