linkerd2/web/app
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
..
__mocks__ Use jest instead of karma for running tests (#1768) 2018-10-15 17:06:35 -07:00
css Don't show the tap icon for requests from sources that are not meshed (#2131) 2019-01-30 14:03:19 -05:00
img Add grafana icon to links, refactor svgs, link to ResourceDetail component (#1482) 2018-08-17 15:12:33 -07:00
js Authorization-aware control-plane components (#2349) 2019-02-26 11:54:52 -08:00
test Modify StatSummary to also return TCP stats (#2262) 2019-02-25 10:37:39 -08:00
.babelrc Reduce webpack bundle size: remove react prop types in production builds (#2036) 2019-01-04 16:05:48 -05:00
.eslintrc Fix lodash error on namespace landing page (#2043) 2019-01-04 12:32:46 -08:00
index_bundle.js.lodash.tmpl Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00
package.json Bump lodash dependency to fix security warning (#2235) 2019-02-08 13:09:27 -08:00
webpack-mv-plugin.js Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00
webpack.config.js Fail CI on unlinted js code (#2178) 2019-01-30 15:58:48 -08:00
yarn.lock Bump lodash dependency to fix security warning (#2235) 2019-02-08 13:09:27 -08:00