Skip to content

Commit

Permalink
drop unnecessary external name svc (#1029)
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso authored Jan 13, 2025
1 parent 47d62db commit 402ac60
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions test/conformance/ingress/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,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),
Expand Down Expand Up @@ -311,13 +314,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
Expand Down

0 comments on commit 402ac60

Please sign in to comment.