linkerd2/cli/cmd
Andrew Seigner e5d2460792
Remove single namespace functionality (#2474)
linkerd/linkerd2#1721 introduced a `--single-namespace` install flag,
enabling the control-plane to function within a single namespace. With
the introduction of ServiceProfiles, and upcoming identity changes, this
single namespace mode of operation is becoming less viable.

This change removes the `--single-namespace` install flag, and all
underlying support. The control-plane must have cluster-wide access to
operate.

A few related changes:
- Remove `--single-namespace` from `linkerd check`, this motivates
  combining some check categories, as we can always assume cluster-wide
  requirements.
- Simplify the `k8s.ResourceAuthz` API, as callers no longer need to
  make a decision based on cluster-wide vs. namespace-wide access.
  Components either have access, or they error out.
- Modify the web dashboard to always assume ServiceProfiles are enabled.

Reverts #1721
Part of #2337

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2019-03-12 00:17:22 -07:00
..
testdata Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
check.go Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
check_test.go Update check command hint URLs to new alias (#2245) 2019-02-11 11:00:16 -08:00
completion.go CLI help updates: non-experimental auto-inject; unhide install-cni (#2319) 2019-02-18 15:32:46 -08:00
completion_test.go Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
dashboard.go Introduce cli command to fetch proxy metrics (#2445) 2019-03-07 10:24:38 -08:00
doc.go Generate CLI docs for usage by the website (#2296) 2019-02-15 13:28:31 -08:00
endpoints.go lint: Enable goconst (#2365) 2019-02-25 12:00:03 -08:00
endpoints_test.go lint: Enable goconst (#2365) 2019-02-25 12:00:03 -08:00
get.go Introduce resource selector and deprecate namespace field for ListPods (#2025) 2019-01-23 10:35:55 -08:00
get_test.go Fix most golint issues that are not comment related (#1982) 2018-12-20 10:37:47 -08:00
inject.go Quiet inject logging (#2483) 2019-03-11 10:39:10 -07:00
inject_test.go Injection consolidation (#2334) 2019-03-05 08:38:56 -05:00
inject_util.go Injection consolidation (#2334) 2019-03-05 08:38:56 -05:00
install-cni-plugin.go Injection consolidation (#2334) 2019-03-05 08:38:56 -05:00
install-cni-plugin_test.go lint: Enable unparam (#2369) 2019-02-27 10:34:02 -08:00
install-sp.go Enable `unused` linter (#2357) 2019-02-23 11:05:39 -08:00
install-sp_test.go lint: Enable scopelint (#2364) 2019-02-24 08:59:51 -08:00
install.go Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
install_test.go Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
logs.go lint: Enable goimports (#2366) 2019-02-25 15:51:10 -08:00
logs_test.go lint: Enable scopelint (#2364) 2019-02-24 08:59:51 -08:00
main_test.go test: Support the -update and -pretty-diff flags (#2315) 2019-02-19 13:06:12 -08:00
metrics.go Introduce cli command to fetch proxy metrics (#2445) 2019-03-07 10:24:38 -08:00
profile.go Enable `unused` linter (#2357) 2019-02-23 11:05:39 -08:00
profile_test.go lint: Enable goconst (#2365) 2019-02-25 12:00:03 -08:00
root.go Introduce cli command to fetch proxy metrics (#2445) 2019-03-07 10:24:38 -08:00
routes.go lint: Enable goconst (#2365) 2019-02-25 12:00:03 -08:00
routes_test.go lint: Enable goconst (#2365) 2019-02-25 12:00:03 -08:00
stat.go Show TCP stats in `linkerd stat` when -o wide or -o json is used (#2408) 2019-03-06 17:29:24 -05:00
stat_test.go Show TCP stats in `linkerd stat` when -o wide or -o json is used (#2408) 2019-03-06 17:29:24 -05:00
tap.go Wire up stats for Jobs (#2416) 2019-03-01 17:16:54 -08:00
tap_test.go lint: Enable goconst (#2365) 2019-02-25 12:00:03 -08:00
top.go Wire up stats for Jobs (#2416) 2019-03-01 17:16:54 -08:00
uninject.go Injection consolidation (#2334) 2019-03-05 08:38:56 -05:00
uninject_test.go Injection consolidation (#2334) 2019-03-05 08:38:56 -05:00
version.go Consolidate timeouts for `linkerd check` (#2191) 2019-02-05 11:38:30 -05:00
version_test.go lint: Enable scopelint (#2364) 2019-02-24 08:59:51 -08:00