From 67e5a22819a31ecc0e6632540cd8a4493e186330 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Thu, 9 Jan 2025 00:02:37 -0500 Subject: [PATCH] drop unnecessary external name svc --- test/conformance/ingress/util.go | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test/conformance/ingress/util.go b/test/conformance/ingress/util.go index b8226f22d..a00edd5d8 100644 --- a/test/conformance/ingress/util.go +++ b/test/conformance/ingress/util.go @@ -255,6 +255,9 @@ func CreateProxyService(ctx context.Context, t *testing.T, clients *test.Clients Env: []corev1.EnvVar{{ Name: "TARGET_HOST", Value: target, + }, { + Name: "GATEWAY_HOST", + Value: gatewayDomain, }, { Name: "PORT", Value: strconv.Itoa(containerPort), @@ -306,13 +309,7 @@ func CreateProxyService(ctx context.Context, t *testing.T, clients *test.Clients }, } proxyServiceCancel := createPodAndService(ctx, t, clients, pod, svc) - - externalNameServiceCancel := createExternalNameService(ctx, t, clients, target, gatewayDomain) - - return name, port, func() { - externalNameServiceCancel() - proxyServiceCancel() - } + return name, port, proxyServiceCancel } // CreateTimeoutService creates a Kubernetes service that will respond to the protocol