From 59d047f573234ec534322929f7646cbe4ee05c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Burzy=C5=84ski?= Date: Wed, 18 Jan 2023 21:37:35 +0100 Subject: [PATCH] chore: remove #3393 todo (#3403) --- test/e2e/features_test.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/e2e/features_test.go b/test/e2e/features_test.go index 5a88293b7a..6855bcc580 100644 --- a/test/e2e/features_test.go +++ b/test/e2e/features_test.go @@ -10,7 +10,6 @@ import ( "fmt" "net/http" "os" - "os/exec" "strings" "testing" "time" @@ -308,12 +307,6 @@ func TestDeployAllInOneDBLESSGateway(t *testing.T) { LabelSelector: "app=" + deployment.Name, } - t.Log("running the admission webhook setup script") - deployAdmissionWebhook(t, env) - - // TODO: make sure that KongConsumer cannot be created due to admission webhook rejecting duplicates - // https://github.com/Kong/kubernetes-ingress-controller/issues/3393 - t.Log("verifying that KIC disabled controllers for Gateway API and printed proper log") require.Eventually(t, func() bool { pods, err := env.Cluster().Client().CoreV1().Pods(deployment.Namespace).List(ctx, deploymentListOptions) @@ -449,13 +442,6 @@ func TestDeployAllInOneDBLESSGateway(t *testing.T) { verifyTCPRoute(ctx, t, env) } -func deployAdmissionWebhook(t *testing.T, env environments.Environment) { - kubeconfig := getTemporaryKubeconfig(t, env) - cmd := exec.Command("bash", admissionScriptPath, kubeconfig) - out, err := cmd.CombinedOutput() - require.NoError(t, err, "running command failed: %s", string(out)) -} - // Unsatisfied LoadBalancers have special handling, see // https://github.com/Kong/kubernetes-ingress-controller/issues/2001 func TestDeployAllInOneDBLESSNoLoadBalancer(t *testing.T) {