linkerd2/cli/cmd
Alejandro Pedraza 6980e45e1d
Remove the `linkerd-controller` pod (#6039)
* Remove the `linkerd-controller` pod

Now that we got rid of the `Version` API (#6000) and the destination API forwarding business in `linkerd-controller` (#5993), we can get rid of the `linkerd-controller` pod.

## Removals

- Deleted everything under `/controller/api/public` and `/controller/cmd/public-api`.
- Moved `/controller/api/public/test_helper.go` to `/controller/api/destination/test_helper.go` because those are really utils for destination testing. I also extracted from there the prometheus mock structs and put that under `/pkg/prometheus/test_helper.go`, which is now by both the `linkerd diagnostics endpoints` and the `metrics-api` tests, removing some duplication.
- Deleted the `controller.yaml` and `controller-rbac.yaml` helm templates along with the `publicAPIResources` and `publicAPIProxyResources` helm values.

## Health checks

- Removed the `can initialize the client` check given such client is no longer needed. The `linkerd-api` section was left with only the check `control pods are ready`, so I moved that under the `linkerd-existence` section and got rid of the `linkerd-api` section altogether.
- In that same `linkerd-existence` section, got rid of the `controller pod is running` check.

## Other changes

- Fixed the Control Plane section of the dashboard, taking account the disappearance of `linkerd-controller` and previously, of `linkerd-sp-validator`.
2021-04-19 09:57:45 -05:00
..
testdata Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
alpha.go Remove SMI-Metrics charts and commands (#4843) 2020-08-24 14:35:33 -07:00
check.go Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
check_test.go Fix hint anchors for core health checks (#6023) 2021-04-13 09:56:23 -05:00
completion.go Fix CLI zsh completion (#5285) 2020-12-02 15:37:57 -05:00
completion_test.go Bump proxy-init to 1.2.0 (#3397) 2019-09-09 09:06:14 -07:00
controller-metrics.go cli: reorganise diagnostics subcommand (#5205) 2021-02-25 12:53:47 +05:30
diagnostics.go Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
doc.go Update proxy annotations docs (#5906) 2021-03-16 15:31:54 -05:00
endpoints.go Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
endpoints_test.go Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
identity.go 'linkerd identity' should return the leaf cert (#5908) 2021-03-16 09:48:24 -05:00
inject.go cli: make inject add the right annotation with `--ingress` (#5983) 2021-04-05 23:11:52 +05:30
inject_test.go cli: make inject add the right annotation with `--ingress` (#5983) 2021-04-05 23:11:52 +05:30
inject_util.go Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
install-cni-plugin.go extension: Add new jaeger binary (#5278) 2020-11-25 20:10:35 +05:30
install-cni-plugin_test.go docker: Access container images via cr.l5d.io (#5756) 2021-02-17 14:31:54 -08:00
install-sp.go values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
install-sp_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
install.go Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_cni_helm_test.go Removed "do-not-edit" entries from values.yaml files (#5758) 2021-02-19 09:17:45 -05:00
install_helm_test.go Schedule heartbeat 10 mins after install (#5973) 2021-03-31 07:49:36 -05:00
install_test.go Schedule heartbeat 10 mins after install (#5973) 2021-03-31 07:49:36 -05:00
main_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
metrics.go Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
metrics_diagnostics_util.go Linkerd CLI command to get control plane diagnostics (#4050) 2020-02-24 09:09:54 -08:00
metrics_diagnostics_util_test.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
options.go CLI: add `--opaque-ports` flag to `inject` (#5851) 2021-03-02 08:59:09 -08:00
profile.go values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
profile_test.go viz: add viz profile command (#5621) 2021-02-01 19:02:46 -05:00
range_slice.go Enable mixed configuration of skip-[inbound|outbound]-ports (#3766) 2019-12-20 09:32:13 -05:00
range_slice_test.go Enable mixed configuration of skip-[inbound|outbound]-ports (#3766) 2019-12-20 09:32:13 -05:00
repair.go Removed `Version` API from the public-api (#6000) 2021-04-16 11:23:55 -05:00
root.go cli: reorganise diagnostics subcommand (#5205) 2021-02-25 12:53:47 +05:30
test_helper.go Refactor upgrade tests to remove use of golden files (#4860) 2020-08-11 09:22:29 -07:00
uninject.go CLI: add `--opaque-ports` flag to `inject` (#5851) 2021-03-02 08:59:09 -08:00
uninject_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
uninstall.go Print error message when there is nothing to uninstall (#6014) 2021-04-13 16:12:09 -07:00
upgrade.go cli: Support helm override flags with upgrades (#5726) 2021-02-12 21:26:17 +05:30
upgrade_legacy.go values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
upgrade_test.go Provide CA cert as env var to identity controller. (#5690) 2021-02-22 10:30:43 -05:00
version.go Removed `Version` API from the public-api (#6000) 2021-04-16 11:23:55 -05:00