linkerd2/web/srv
Andrew Seigner ec5a0ca8d9
Authorization-aware control-plane components (#2349)
The control-plane components relied on a `--single-namespace` param,
passed from `linkerd install` into each individual component, to
determine which namespaces they were authorized to access, and whether
to support ServiceProfiles. This command-line flag was redundant given
the authorization rules encoded in the parent `linkerd install` output,
via [Cluster]Role[Binding]s.

Modify the control-plane components to query Kubernetes at startup to
determine which namespaces they are authorized to access, and whether
ServiceProfile support is available. This allows removal of the
`--single-namespace` flag on the components.

Also update `bin/test-cleanup` to cleanup the ServiceProfile CRD.

TODO:
- Remove `--single-namespace` flag on `linkerd install`, part of #2164

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2019-02-26 11:54:52 -08:00
..
api_handlers.go Fix goconst linter breakage following master merge (#2378) 2019-02-25 12:57:27 -08:00
api_handlers_test.go Fix most golint issues that are not comment related (#1982) 2018-12-20 10:37:47 -08:00
grafana_proxy.go Proxy grafana requests through web service (#2039) 2019-01-04 16:07:57 -08:00
handlers.go Authorization-aware control-plane components (#2349) 2019-02-26 11:54:52 -08:00
handlers_test.go Read service profiles from client or server namespace instead of control namespace (#2200) 2019-02-07 14:51:43 -08:00
server.go Authorization-aware control-plane components (#2349) 2019-02-26 11:54:52 -08:00
test_helpers.go Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00