linkerd2/pkg/k8s
Alex Leong b7c5bd07ae
Add 'linkerd.io/inject: ingress' mode (#5130)
Fixes #5118

This PR adds a new supported value for the `linkerd.io/inject` annotation.  In addition to `enabled` and `disabled`, this annotation may now be set to `ingress`.  This functions identically to `enabled` but it also causes the `LINKERD2_PROXY_INGRESS_MODE="true"` environment variable to be set on the proxy.  This causes the proxy to operate in ingress mode as described in #5118 

With this set, ingresses are able to properly load service profiles based on the l5d-dst-override header.

Signed-off-by: Alex Leong <alex@buoyant.io>
2020-10-26 14:32:19 -07:00
..
testdata Fix handling of kubeconfig server urls that include paths (#2305) 2019-02-18 17:57:27 -08:00
api.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
api_test.go Add pod status to linkerd check (#3065) 2019-07-18 15:56:19 -07:00
authz.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
authz_test.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
fake.go Upgrade using config overrides (#5005) 2020-10-12 14:23:14 -07:00
fake_test.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
k8s.go Make service mirror controller per target cluster (#4710) 2020-07-23 14:32:50 -07:00
k8s_test.go Fix spelling mistakes using codespell (#4700) 2020-07-07 17:07:22 -05:00
kubectl.go Check kubectl version as part of checks (#2358) 2019-03-01 10:03:59 -08:00
kubectl_test.go Check kubectl version as part of checks (#2358) 2019-03-01 10:03:59 -08:00
labels.go Add 'linkerd.io/inject: ingress' mode (#5130) 2020-10-26 14:32:19 -07:00
labels_test.go Provide peer Identities via the Destination API (#2537) 2019-03-22 09:19:14 -07:00
portforward.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
portforward_test.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
version.go Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00
version_test.go Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00