linkerd2/controller/api/destination
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
..
endpoint_listener.go destination: Only return TLS identities when appropriate (#2371) 2019-02-27 12:18:39 -08:00
endpoint_listener_test.go destination: Only return TLS identities when appropriate (#2371) 2019-02-27 12:18:39 -08:00
endpoints_watcher.go lint: Enable goimports (#2366) 2019-02-25 15:51:10 -08:00
endpoints_watcher_test.go Require cluster-wide k8s API access (#2428) 2019-03-07 10:23:18 -08:00
fallback_profile_listener.go Rename linkerd-proxy-api to linkerd-destination (#2281) 2019-02-15 15:11:04 -08:00
fallback_profile_listener_test.go Rename linkerd-proxy-api to linkerd-destination (#2281) 2019-02-15 15:11:04 -08:00
k8s_resolver.go Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
k8s_resolver_test.go Require cluster-wide k8s API access (#2428) 2019-03-07 10:23:18 -08:00
profile_listener.go Rename linkerd-proxy-api to linkerd-destination (#2281) 2019-02-15 15:11:04 -08:00
profile_listener_test.go Rename linkerd-proxy-api to linkerd-destination (#2281) 2019-02-15 15:11:04 -08:00
profile_watcher.go Rename linkerd-proxy-api to linkerd-destination (#2281) 2019-02-15 15:11:04 -08:00
profile_watcher_test.go Require cluster-wide k8s API access (#2428) 2019-03-07 10:23:18 -08:00
resolver.go Rename linkerd-proxy-api to linkerd-destination (#2281) 2019-02-15 15:11:04 -08:00
server.go Require cluster-wide k8s API access (#2428) 2019-03-07 10:23:18 -08:00
server_test.go Require cluster-wide k8s API access (#2428) 2019-03-07 10:23:18 -08:00
test_helper.go lint: Enable unparam (#2369) 2019-02-27 10:34:02 -08:00