linkerd2/pkg
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
..
addr lint: Enable scopelint (#2364) 2019-02-24 08:59:51 -08:00
admin lint: Enable unparam (#2369) 2019-02-27 10:34:02 -08:00
config Public API endpoint `Config()` (#2455) 2019-03-07 17:37:46 -05:00
filesonly Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00
flags Lessen klog for security (#2386) 2019-02-26 16:00:26 -08:00
healthcheck Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
inject Quiet inject logging (#2483) 2019-03-11 10:39:10 -07:00
k8s Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
profiles Authorization-aware control-plane components (#2349) 2019-02-26 11:54:52 -08:00
prometheus Instrument k8s clients (#2243) 2019-02-18 09:10:02 -08:00
tls Enable gosimple linter, fix issues (#2356) 2019-02-22 17:19:07 -08:00
util Add go linting to CI config (#2018) 2018-12-20 15:33:09 -08:00
version lint: Enable unparam (#2369) 2019-02-27 10:34:02 -08:00