Skip to content

Commit 59d047f

Browse files
authored
chore: remove #3393 todo (#3403)
1 parent 2ff988a commit 59d047f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

test/e2e/features_test.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"fmt"
1111
"net/http"
1212
"os"
13-
"os/exec"
1413
"strings"
1514
"testing"
1615
"time"
@@ -308,12 +307,6 @@ func TestDeployAllInOneDBLESSGateway(t *testing.T) {
308307
LabelSelector: "app=" + deployment.Name,
309308
}
310309

311-
t.Log("running the admission webhook setup script")
312-
deployAdmissionWebhook(t, env)
313-
314-
// TODO: make sure that KongConsumer cannot be created due to admission webhook rejecting duplicates
315-
// https://github.com/Kong/kubernetes-ingress-controller/issues/3393
316-
317310
t.Log("verifying that KIC disabled controllers for Gateway API and printed proper log")
318311
require.Eventually(t, func() bool {
319312
pods, err := env.Cluster().Client().CoreV1().Pods(deployment.Namespace).List(ctx, deploymentListOptions)
@@ -449,13 +442,6 @@ func TestDeployAllInOneDBLESSGateway(t *testing.T) {
449442
verifyTCPRoute(ctx, t, env)
450443
}
451444

452-
func deployAdmissionWebhook(t *testing.T, env environments.Environment) {
453-
kubeconfig := getTemporaryKubeconfig(t, env)
454-
cmd := exec.Command("bash", admissionScriptPath, kubeconfig)
455-
out, err := cmd.CombinedOutput()
456-
require.NoError(t, err, "running command failed: %s", string(out))
457-
}
458-
459445
// Unsatisfied LoadBalancers have special handling, see
460446
// https://github.com/Kong/kubernetes-ingress-controller/issues/2001
461447
func TestDeployAllInOneDBLESSNoLoadBalancer(t *testing.T) {

0 commit comments

Comments
 (0)