diff --git a/tests/e2e/common-operator-integ-suite.sh b/tests/e2e/common-operator-integ-suite.sh index 64a7aef15..f1f4b8a96 100755 --- a/tests/e2e/common-operator-integ-suite.sh +++ b/tests/e2e/common-operator-integ-suite.sh @@ -32,7 +32,7 @@ parse_flags() { SKIP_DEPLOY=${SKIP_DEPLOY:-false} OLM=${OLM:-false} DESCRIBE=false - MULTICLUSTER=false + MULTICLUSTER=${MULTICLUSTER:-false} while [ $# -gt 0 ]; do case "$1" in --ocp) diff --git a/tests/e2e/util/istioctl/istioctl.go b/tests/e2e/util/istioctl/istioctl.go index 309bc1b3d..10993f556 100644 --- a/tests/e2e/util/istioctl/istioctl.go +++ b/tests/e2e/util/istioctl/istioctl.go @@ -53,6 +53,9 @@ func CreateRemoteSecret(remoteKubeconfig, namespace, secretName, internalIP stri if len(additionalFlags) != 0 { cmd += (" " + strings.Join(additionalFlags, " ")) } + if env.GetBool("OCP", false) { + cmd += " --create-service-account=false" + } yaml, err := shell.ExecuteCommand(cmd)