From 44f599afe6b2fadd3460bf9f3cad77225103eea3 Mon Sep 17 00:00:00 2001 From: Jacek Wysocki Date: Wed, 9 Feb 2022 12:30:34 +0100 Subject: [PATCH] fix: remove tests crds on uninstall --- cmd/kubectl-testkube/commands/uninstall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kubectl-testkube/commands/uninstall.go b/cmd/kubectl-testkube/commands/uninstall.go index 92d8ae7247..e94690d471 100644 --- a/cmd/kubectl-testkube/commands/uninstall.go +++ b/cmd/kubectl-testkube/commands/uninstall.go @@ -23,7 +23,7 @@ func NewUninstallCmd() *cobra.Command { ui.PrintOnError("uninstalling testkube", err) if removeCRDs { - _, err = process.Execute("kubectl", "delete", "crds", "--namespace", namespace, "scripts.tests.testkube.io", "executors.executor.testkube.io") + _, err = process.Execute("kubectl", "delete", "crds", "--namespace", namespace, "scripts.tests.testkube.io", "tests.tests.testkube.io", "executors.executor.testkube.io") ui.PrintOnError("uninstalling CRDs", err) } },