diff --git a/tests/e2e/ambient/ambient_suite_test.go b/tests/e2e/ambient/ambient_suite_test.go index 82da46597..eecfccab4 100644 --- a/tests/e2e/ambient/ambient_suite_test.go +++ b/tests/e2e/ambient/ambient_suite_test.go @@ -31,7 +31,6 @@ import ( var ( cl client.Client err error - ocp = env.GetBool("OCP", false) operatorNamespace = common.OperatorNamespace deploymentName = env.Get("DEPLOYMENT_NAME", "sail-operator") controlPlaneNamespace = env.Get("CONTROL_PLANE_NS", "istio-system") diff --git a/tests/e2e/ambient/ambient_test.go b/tests/e2e/ambient/ambient_test.go index c8bcd6e20..80e911e9b 100644 --- a/tests/e2e/ambient/ambient_test.go +++ b/tests/e2e/ambient/ambient_test.go @@ -50,11 +50,6 @@ var _ = Describe("Ambient configuration ", Ordered, func() { BeforeAll(func(ctx SpecContext) { Expect(k.CreateNamespace(operatorNamespace)).To(Succeed(), "Namespace failed to be created") - extraArg := "" - if ocp { - extraArg = "--set=platform=openshift" - } - if skipDeploy { Success("Skipping operator installation because it was deployed externally") } else {