linkerd2/test/testdata
Alejandro Pedraza 322ba5fd2f
`linkerd uninstall` errors when attempting to delete PSP (#4234)
* Bug in `linkerd uninstall` when attempting to delete PSP

We were using a wrong apiVersion for PSP in `linkerd uninstall`'s
output, which avoids removing that resource:

```
$ linkerd uninstall | kubectl delete -f -
clusterrole.rbac.authorization.k8s.io "linkerd-linkerd-controller"
deleted
clusterrole.rbac.authorization.k8s.io "linkerd-linkerd-destination"
deleted
...
mutatingwebhookconfiguration.admissionregistration.k8s.io
"linkerd-proxy-injector-webhook-config" deleted
validatingwebhookconfiguration.admissionregistration.k8s.io
"linkerd-sp-validator-webhook-config" deleted
namespace "linkerd" deleted
error: unable to recognize "uninstall.yml": no matches for kind
"PodSecurityPolicy" in version "extensions/v1beta1"

$ kubectl get psp -oname
podsecuritypolicy.policy/linkerd-linkerd-control-plane
```

I've also replaced the uninstall integration test with a new separate
suite that performs the installation, waits for it to be ready,
uninstalls, and then confirms `linkerd check --pre` returns as expected.
2020-04-07 11:01:11 -05:00
..
check.config.golden Introduce global resources checks to install and multi-stage install (#2987) 2019-06-27 09:59:12 -07:00
check.golden Unify trust anchors terminology (#4047) 2020-02-15 10:12:46 +02:00
check.pre.golden Check for extension server certificate (#4062) 2020-02-28 13:39:02 -08:00
check.proxy.golden Unify trust anchors terminology (#4047) 2020-02-15 10:12:46 +02:00
custom_cluster_domain_config.yaml Integration test for custom cluster domain (#3660) 2019-11-04 14:49:52 -08:00
inject.report.golden Add `linkerd inject --manual` test into install_test.go (#2791) 2019-05-08 11:13:30 -05:00
smoke_test.yaml Add support for k8s 1.16 (#3364) 2019-09-04 09:59:55 -05:00
upgrade_test.yaml Check health of meshed apps before and after linkerd upgrade (#3641) 2019-11-07 20:48:12 +02:00