linkerd2/cli/cmd/testdata
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
..
inject-filepath Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
addon_config.yaml Support Multi-stage install with Add-On's (#4271) 2020-04-23 14:40:58 -05:00
addon_config_overwrite.yaml tracing: Move default values into addon-chart (#4951) 2020-09-15 15:19:25 -05:00
check_output.golden Output check result as json (#2666) 2019-05-20 09:04:28 -07:00
check_output_json.golden Output check result as json (#2666) 2019-05-20 09:04:28 -07:00
endpoints_one_output.golden Have `linkerd endpoints` use `Destination.Get` (#2990) 2019-07-03 09:11:03 -05:00
endpoints_one_output_json.golden Have `linkerd endpoints` use `Destination.Get` (#2990) 2019-07-03 09:11:03 -05:00
endpoints_two_outputs.golden Have `linkerd endpoints` use `Destination.Get` (#2990) 2019-07-03 09:11:03 -05:00
expired-crt.pem Consolidate certificates validation logic (#3810) 2019-12-13 10:01:55 +02:00
expired-key.pem Consolidate certificates validation logic (#3810) 2019-12-13 10:01:55 +02:00
expired-trust-anchors.pem Consolidate certificates validation logic (#3810) 2019-12-13 10:01:55 +02:00
inject_contour.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_contour.input.yml Remove empty fields from generated configs (#3886) 2020-01-13 10:02:24 -08:00
inject_contour.report Remove envoy, contour restrictions (#4092) 2020-03-02 09:18:51 -05:00
inject_contour.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_contour_uninject.report Remove envoy, contour restrictions (#4092) 2020-03-02 09:18:51 -05:00
inject_emojivoto_already_injected.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_already_injected.input.yml docker: Access container images via cr.l5d.io (#5756) 2021-02-17 14:31:54 -08:00
inject_emojivoto_already_injected.report When injecting, perform an uninject as a first step (#2089) 2019-01-17 10:15:23 -08:00
inject_emojivoto_already_injected.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_cronjob.golden.yml Fix error when injecting Cronjobs that have no metadata (#4180) 2020-03-23 14:49:50 -05:00
inject_emojivoto_cronjob.input.yml Fix error when injecting Cronjobs that have no metadata (#4180) 2020-03-23 14:49:50 -05:00
inject_emojivoto_cronjob.report Fix error when injecting Cronjobs that have no metadata (#4180) 2020-03-23 14:49:50 -05:00
inject_emojivoto_cronjob.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_cronjob_nometa.golden.yml Fix error when injecting Cronjobs that have no metadata (#4180) 2020-03-23 14:49:50 -05:00
inject_emojivoto_cronjob_nometa.input.yml Fix error when injecting Cronjobs that have no metadata (#4180) 2020-03-23 14:49:50 -05:00
inject_emojivoto_deployment.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_deployment.report Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
inject_emojivoto_deployment.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_deployment_automountServiceAccountToken_false.golden.stderr Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_emojivoto_deployment_automountServiceAccountToken_false.golden.stderr.verbose Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_emojivoto_deployment_automountServiceAccountToken_false.golden.yml Update inject to handle `automountServiceAccountToken: false` (#4145) 2020-04-01 09:39:49 -05:00
inject_emojivoto_deployment_automountServiceAccountToken_false.input.yml Update inject to handle `automountServiceAccountToken: false` (#4145) 2020-04-01 09:39:49 -05:00
inject_emojivoto_deployment_capabilities.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment_capabilities.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_deployment_config_overrides.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment_config_overrides.input.yml CLI: Remove the `--disable-tap` flag from inject (#5671) 2021-02-11 10:01:53 -05:00
inject_emojivoto_deployment_controller_name.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment_controller_name.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_deployment_controller_name.report Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
inject_emojivoto_deployment_controller_name.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_deployment_controller_name_uninject.report Add newline separator above uninject reports (#2104) 2019-01-17 11:12:54 -08:00
inject_emojivoto_deployment_debug.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment_empty_resources.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment_empty_resources.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_deployment_empty_resources.report Ignoring resources with empty kind field. (#2292) 2019-02-19 11:44:28 -08:00
inject_emojivoto_deployment_empty_resources.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_deployment_hostNetwork_false.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment_hostNetwork_false.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_deployment_hostNetwork_false.report Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
inject_emojivoto_deployment_hostNetwork_false.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_deployment_hostNetwork_true.golden.stderr Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_emojivoto_deployment_hostNetwork_true.golden.stderr.verbose Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_emojivoto_deployment_hostNetwork_true.golden.yml Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_emojivoto_deployment_hostNetwork_true.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_deployment_hostNetwork_true_uninject.report Add newline separator above uninject reports (#2104) 2019-01-17 11:12:54 -08:00
inject_emojivoto_deployment_injectDisabled.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_deployment_injectDisabled.report Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_deployment_injectDisabled.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_deployment_injectDisabled_uninject.report Add pod spec annotation to disable injection in CLI and auto-injector (#2187) 2019-02-01 16:57:06 -08:00
inject_emojivoto_deployment_no_init_container.golden.yml Remove default skip ports and add to opaque ports (#5810) 2021-02-24 16:22:09 -05:00
inject_emojivoto_deployment_opaque_ports.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment_opaque_ports.report CLI: add `--opaque-ports` flag to `inject` (#5851) 2021-03-02 08:59:09 -08:00
inject_emojivoto_deployment_opaque_ports.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_deployment_overridden.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment_overridden_noinject.golden.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_deployment_proxyignores.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment_udp.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_deployment_udp.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_deployment_udp.report Fix Unicode and color output for Windows (#2114) 2019-01-23 09:55:44 -08:00
inject_emojivoto_deployment_udp.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_deployment_udp_uninject.report Add newline separator above uninject reports (#2104) 2019-01-17 11:12:54 -08:00
inject_emojivoto_deployment_uninject.report Add newline separator above uninject reports (#2104) 2019-01-17 11:12:54 -08:00
inject_emojivoto_deployment_uninjected.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_istio.golden.stderr Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_emojivoto_istio.golden.stderr.verbose Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_emojivoto_istio.golden.yml Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_emojivoto_istio.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_istio_uninject.report Add newline separator above uninject reports (#2104) 2019-01-17 11:12:54 -08:00
inject_emojivoto_list.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_list.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_list.report Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
inject_emojivoto_list.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_list_empty_resources.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_list_empty_resources.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_list_empty_resources.report Ignoring resources with empty kind field. (#2292) 2019-02-19 11:44:28 -08:00
inject_emojivoto_list_empty_resources.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_list_uninject.report Add newline separator above uninject reports (#2104) 2019-01-17 11:12:54 -08:00
inject_emojivoto_namespace_good.golden.report Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_namespace_good.golden.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_namespace_good.golden.yml Remove empty fields from generated configs (#3886) 2020-01-13 10:02:24 -08:00
inject_emojivoto_namespace_good.input.yml Add inject support for namespace configs (Fix #3255) (#3607) 2019-10-30 10:18:01 -05:00
inject_emojivoto_namespace_overidden_good.golden.yml Upgrade using config overrides (#5005) 2020-10-12 14:23:14 -07:00
inject_emojivoto_namespace_uninjected_good.golden.report Update uninject command to handle namespaces (Fixes #3648) (#3668) 2019-11-04 22:21:47 -08:00
inject_emojivoto_namespace_uninjected_good.golden.yml Remove empty fields from generated configs (#3886) 2020-01-13 10:02:24 -08:00
inject_emojivoto_pod.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_pod.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_pod.report Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
inject_emojivoto_pod.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_pod_ingress.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_pod_ingress.report cli: make inject add the right annotation with `--ingress` (#5983) 2021-04-05 23:11:52 +05:30
inject_emojivoto_pod_ingress.report.verbose cli: make inject add the right annotation with `--ingress` (#5983) 2021-04-05 23:11:52 +05:30
inject_emojivoto_pod_proxyignores.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_pod_uninject.report Add newline separator above uninject reports (#2104) 2019-01-17 11:12:54 -08:00
inject_emojivoto_pod_with_requests.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_pod_with_requests.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_pod_with_requests.report Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
inject_emojivoto_pod_with_requests.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_pod_with_requests_uninject.report Add newline separator above uninject reports (#2104) 2019-01-17 11:12:54 -08:00
inject_emojivoto_statefulset.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_emojivoto_statefulset.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_emojivoto_statefulset.report Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
inject_emojivoto_statefulset.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_emojivoto_statefulset_uninject.report Add newline separator above uninject reports (#2104) 2019-01-17 11:12:54 -08:00
inject_gettest_deployment.bad.golden Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_gettest_deployment.bad.golden.verbose Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_gettest_deployment.bad.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_gettest_deployment.good.golden.stderr Update check and inject output (#2087) 2019-01-16 15:14:14 -08:00
inject_gettest_deployment.good.golden.stderr.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
inject_gettest_deployment.good.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_gettest_deployment.good.input.yml Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject_tap_deployment.bad.golden Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_tap_deployment.bad.golden.verbose Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
inject_tap_deployment.input.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_tap_deployment_debug.golden.yml Update proxy-init version to v1.3.11 (#6013) 2021-04-09 18:30:05 -04:00
inject_tap_deployment_debug.report Added unit test for injecting debug sidecar into CP deployment (#3786) 2019-12-10 13:45:48 -05:00
inject_tap_deployment_debug.report.verbose Add opaque ports namespace inheritance to pods (#5941) 2021-03-29 19:41:15 -04:00
install-cni-plugin_default.golden Remove default skip ports and add to opaque ports (#5810) 2021-02-24 16:22:09 -05:00
install-cni-plugin_fully_configured.golden Remove default skip ports and add to opaque ports (#5810) 2021-02-24 16:22:09 -05:00
install-cni-plugin_fully_configured_equal_dsts.golden Remove default skip ports and add to opaque ports (#5810) 2021-02-24 16:22:09 -05:00
install-cni-plugin_fully_configured_no_namespace.golden Remove default skip ports and add to opaque ports (#5810) 2021-02-24 16:22:09 -05:00
install-cni-plugin_skip_ports.golden Remove default skip ports and add to opaque ports (#5810) 2021-02-24 16:22:09 -05:00
install-sp_default.golden Make destination and identity services headless (#4923) 2020-09-02 14:53:38 -05:00
install-sp_output.golden Make destination and identity services headless (#4923) 2020-09-02 14:53:38 -05:00
install_cni_helm_default_output.golden Remove default skip ports and add to opaque ports (#5810) 2021-02-24 16:22:09 -05:00
install_cni_helm_override_output.golden Remove default skip ports and add to opaque ports (#5810) 2021-02-24 16:22:09 -05:00
install_config.yaml values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
install_controlplane_tracing_output.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_custom_domain.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_custom_registry.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_default.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_default_override_dst_get_nets.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_ha_output.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_ha_with_overrides_output.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_heartbeat_disabled_output.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_helm_output.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_helm_output_ha.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_helm_output_ha_labels.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_helm_output_ha_namespace_selector.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_no_init_container.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_output.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_proxy_ignores.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_values_file.golden Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
not-valid-yet-crt.pem Consolidate certificates validation logic (#3810) 2019-12-13 10:01:55 +02:00
not-valid-yet-key.pem Consolidate certificates validation logic (#3810) 2019-12-13 10:01:55 +02:00
not-valid-yet-trust-anchors.pem Consolidate certificates validation logic (#3810) 2019-12-13 10:01:55 +02:00
prom-config.yaml fix alertmanagers casing (one word) (#5377) 2021-01-21 11:55:24 -05:00
valid-crt.pem Generate Identity certs with alternate domain names (#4920) 2020-09-03 22:33:10 +05:30
valid-key.pem Generate Identity certs with alternate domain names (#4920) 2020-09-03 22:33:10 +05:30
valid-trust-anchors.pem Generate Identity certs with alternate domain names (#4920) 2020-09-03 22:33:10 +05:30
wrong-algo-crt.pem Generate Identity certs with alternate domain names (#4920) 2020-09-03 22:33:10 +05:30
wrong-algo-key.pem Generate Identity certs with alternate domain names (#4920) 2020-09-03 22:33:10 +05:30
wrong-algo-trust-anchors.pem Generate Identity certs with alternate domain names (#4920) 2020-09-03 22:33:10 +05:30
wrong-domain-crt.pem Generate Identity certs with alternate domain names (#4920) 2020-09-03 22:33:10 +05:30
wrong-domain-key.pem Generate Identity certs with alternate domain names (#4920) 2020-09-03 22:33:10 +05:30
wrong-domain-trust-anchors.pem Generate Identity certs with alternate domain names (#4920) 2020-09-03 22:33:10 +05:30