mirror of https://github.com/linkerd/linkerd2.git
Fixes #2077 When looking up service profiles, Linkerd always looks for the service profile objects in the Linkerd control namespace. This is limiting because service owners who wish to create service profiles may not have write access to the Linkerd control namespace. Instead, we have the control plane look for the service profile in both the client namespace (as read from the proxy's `proxy_id` field from the GetProfiles request and from the service's namespace. If a service profile exists in both namespaces, the client namespace takes priority. In this way, clients may override the behavior dictated by the service. Signed-off-by: Alex Leong <alex@buoyant.io> |
||
---|---|---|
.. | ||
api_handlers.go | ||
api_handlers_test.go | ||
grafana_proxy.go | ||
handlers.go | ||
handlers_test.go | ||
server.go | ||
test_helpers.go |