diff --git a/tests/e2e/operator/operator_install_test.go b/tests/e2e/operator/operator_install_test.go index 88ec6f9d7..2b797e2ec 100644 --- a/tests/e2e/operator/operator_install_test.go +++ b/tests/e2e/operator/operator_install_test.go @@ -179,6 +179,7 @@ subjects: AfterAll(func() { Expect(k.DeleteNamespace(curlNamespace)).To(Succeed(), "failed to delete curl namespace") + exec.Command("kubectl", "delete", "--ignore-not-found", "clusterrolebinding", "metrics-reader-rolebinding").Run() if CurrentSpecReport().Failed() { common.LogDebugInfo(common.Operator, k)