linkerd2/controller/proxy-injector/fake/data
Alejandro Pedraza a4e35b7cc8
Set `LINKERD2_PROXY_INBOUND_PORTS` during injection (#6445)
* Set `LINKERD2_PROXY_INBOUND_PORTS` during injection

Fixes #6267

The `LINKERD2_PROXY_INBOUND_PORTS` env var will be set during injection,
containing a comma-separated list of the ports in the non-proxy containers in
the pod. For the identity, destination and injector pods, the var is set
manually in their Helm templates.

Since the proxy-injector isn't reinvoked, containers injected by a mutating
webhook after the injector has run won't be detected. As an escape hatch, the
`config.linkerd.io/pod-inbound-ports` annotation has been added to explicit
overrides.

Other changes:

- Removed
`controller/proxy-injector/fake/data/inject-sidecar-container-spec.yaml` which
is no longer used.  - Fixed bad indentation in some fixture files under
`controller/proxy-injector/fake/data`.
2021-07-09 11:52:20 -05:00
..
annotation.patch.json Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
deployment-inject-disabled.yaml Add pod spec annotation to disable injection in CLI and auto-injector (#2187) 2019-02-01 16:57:06 -08:00
deployment-with-injected-proxy.yaml docker: Access container images via cr.l5d.io (#5756) 2021-02-17 14:31:54 -08:00
inject-init-container-spec.yaml docker: Access container images via cr.l5d.io (#5756) 2021-02-17 14:31:54 -08:00
inject-linkerd-secrets-volume-spec.yaml Have the Webhook react to pod creation/update only (#2472) 2019-03-26 11:53:56 -05:00
namespace-inject-disabled.yaml Update auto-injector to require opt-in by namespace or pod (#2209) 2019-02-06 17:37:14 -08:00
namespace-inject-enabled.yaml Update auto-injector to require opt-in by namespace or pod (#2209) 2019-02-06 17:37:14 -08:00
namespace-with-opaque-ports.yaml Add services to proxy injector for opaque ports annotation (#5766) 2021-02-17 20:58:18 -05:00
pod-inject-empty.yaml Enhance webhook unit tests by checking returned JSON patch (#2615) 2019-04-03 15:39:27 -05:00
pod-inject-enabled.yaml Set `LINKERD2_PROXY_INBOUND_PORTS` during injection (#6445) 2021-07-09 11:52:20 -05:00
pod-with-debug-disabled.yaml Set `LINKERD2_PROXY_INBOUND_PORTS` during injection (#6445) 2021-07-09 11:52:20 -05:00
pod-with-debug-enabled.yaml Set `LINKERD2_PROXY_INBOUND_PORTS` during injection (#6445) 2021-07-09 11:52:20 -05:00
pod-with-debug.patch.json Set `LINKERD2_PROXY_INBOUND_PORTS` during injection (#6445) 2021-07-09 11:52:20 -05:00
pod-with-ns-annotations.patch.json Set `LINKERD2_PROXY_INBOUND_PORTS` during injection (#6445) 2021-07-09 11:52:20 -05:00
pod-with-opaque-ports.yaml Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
pod-without-opaque-ports.yaml Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
pod.patch.json Set `LINKERD2_PROXY_INBOUND_PORTS` during injection (#6445) 2021-07-09 11:52:20 -05:00
service-with-opaque-ports.yaml Add services to proxy injector for opaque ports annotation (#5766) 2021-02-17 20:58:18 -05:00
service-without-opaque-ports.yaml Add services to proxy injector for opaque ports annotation (#5766) 2021-02-17 20:58:18 -05:00