linkerd2/controller/proxy-injector
Alex Leong cbb196066f
Support service profiles for external authorities (#1928)
Add support for service profiles created on external (non-service) authorities.  For example, this allows you to create a service profile named `linkerd.io` which will apply to calls made to `linkerd.io`.

This is done by changing the `LINKERD2_PROXY_DESTINATION_PROFILE_SUFFIXES` to `.` so that the proxy will attempt to lookup a service profile for any authority.  We provide the `--disable-external-profiles` proxy flag to revert this behavior in case it is a problem.

We also refactor the proxy-api implementation of GetProfiles so that it does the profile lookup, regardless of if the authority looks like a Kubernetes service name or not.  To simplify this, support for multiple resolves (which was unused) was removed.

Signed-off-by: Alex Leong <alex@buoyant.io>
2018-12-05 14:32:59 -08:00
..
fake Support service profiles for external authorities (#1928) 2018-12-05 14:32:59 -08:00
tmpl Add linkerd- prefix to all objects in linkerd install (#1920) 2018-12-04 15:41:47 -08:00
patch.go proxy injector: insert at end of arrays (#1881) 2018-11-28 14:21:18 -08:00
patch_test.go proxy injector: insert at end of arrays (#1881) 2018-11-28 14:21:18 -08:00
server.go Proxy init and sidecar containers auto-injection (#1714) 2018-10-10 12:09:22 -07:00
server_test.go Proxy init and sidecar containers auto-injection (#1714) 2018-10-10 12:09:22 -07:00
webhook.go proxy injector: insert at end of arrays (#1881) 2018-11-28 14:21:18 -08:00
webhook_config.go Proxy init and sidecar containers auto-injection (#1714) 2018-10-10 12:09:22 -07:00
webhook_config_test.go Proxy init and sidecar containers auto-injection (#1714) 2018-10-10 12:09:22 -07:00
webhook_test.go Proxy init and sidecar containers auto-injection (#1714) 2018-10-10 12:09:22 -07:00