You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2020/02/22 13:33:24 UTC
[camel-k] 02/04: Fix #1286: fix tests
This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 6c15e5deb29576eea1b4eb17b9d9c5f28b145e6c
Author: Nicola Ferraro <ni...@gmail.com>
AuthorDate: Fri Feb 21 10:22:55 2020 +0100
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 b033eeb..f47891c 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 {