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