mirror of https://github.com/linkerd/linkerd2.git
* 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`. |
||
---|---|---|
.. | ||
fake | ||
metrics.go | ||
webhook.go | ||
webhook_test.go |