From 5f47a06743eadc545c3a4803e8288f34400d14d2 Mon Sep 17 00:00:00 2001 From: Nicola Ferraro Date: Fri, 21 Feb 2020 10:22:55 +0100 Subject: [PATCH] Fix #1286: fix tests --- e2e/test_support.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/test_support.go b/e2e/test_support.go index b033eeb998..f47891c71f 100644 --- a/e2e/test_support.go +++ b/e2e/test_support.go @@ -681,7 +681,7 @@ func serviceaccount(ns, name string) func() *corev1.ServiceAccount { */ func createOperatorServiceAccount(ns string) error { - return install.Resource(testContext, testClient, ns, install.IdentityResourceCustomizer, "operator-service-account.yaml") + return install.Resource(testContext, testClient, ns, true, install.IdentityResourceCustomizer, "operator-service-account.yaml") } func createOperatorRole(ns string) (err error) { @@ -690,13 +690,13 @@ func createOperatorRole(ns string) (err error) { panic(err) } if oc { - return install.Resource(testContext, testClient, ns, install.IdentityResourceCustomizer, "operator-role-openshift.yaml") + return install.Resource(testContext, testClient, ns, true, install.IdentityResourceCustomizer, "operator-role-openshift.yaml") } - return install.Resource(testContext, testClient, ns, install.IdentityResourceCustomizer, "operator-role-kubernetes.yaml") + return install.Resource(testContext, testClient, ns, true, install.IdentityResourceCustomizer, "operator-role-kubernetes.yaml") } func createOperatorRoleBinding(ns string) error { - return install.Resource(testContext, testClient, ns, install.IdentityResourceCustomizer, "operator-role-binding.yaml") + return install.Resource(testContext, testClient, ns, true, install.IdentityResourceCustomizer, "operator-role-binding.yaml") } func createKamelPod(ns string, name string, command ...string) error {