linkerd2/controller
Zahari Dichev 7f3d872930
Add destination-get-networks option (#4608)
In #4585 we are observing an issue where a loop is encountered when using nginx ingress. The problem is that the outbound proxy does a dst lookup on the IP address which happens to be the very same address the ingress is listening on.

In order to avoid situations like that this PR introduces a way to modify the set of networks for which the proxy shall do IP based discovery. The change introduces a helm flag `.Values.global.proxy.destinationGetNetworks` that can be used to modify this value. There are two ways a user can affect the this setting: 


- setting the `destinationGetNetworks` field in values during a Helm install, which changes the default on all injected pods
- using an annotation ` config.linkerd.io/proxy-destination-get-networks` for injected workloads to override this value

Note that this setting cannot be tweaked through the `install` or `inject` command

Fix: #4585

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
2020-06-18 20:07:47 +03:00
..
api Fix mc labels (#4560) 2020-06-05 19:36:09 +03:00
cmd Resolve gateway hostnames into IP addresses (#4588) 2020-06-15 10:33:49 -07:00
gen Add destination-get-networks option (#4608) 2020-06-18 20:07:47 +03:00
heartbeat Upgrade prometheus to v1.2.1 (#3541) 2019-12-11 15:26:16 -08:00
identity Cert manager support (#3600) 2019-10-24 13:15:14 -07:00
k8s Properly show the meshed count for non-selector services (#4446) 2020-05-20 10:08:27 -07:00
proxy-injector Add destination-get-networks option (#4608) 2020-06-18 20:07:47 +03:00
script/destination-client Remove Discovery service leftovers (#3500) 2019-10-15 11:20:21 -05:00
sp-validator Have the proxy-injector emit events upon injection/skipping injection (#3316) 2019-08-26 13:34:36 -05:00
tap Make gateway require TLS for incoming requests (#4339) 2020-05-11 10:07:48 +03:00
webhook Service Mirroring Component (#4028) 2020-03-02 21:16:08 +02:00
Dockerfile Add --close-wait-timeout inject flag (#4409) 2020-05-21 14:14:14 -07:00