Skip to content

Commit 6f9e992

Browse files
committed
add support for hostname address in conformance
1 parent 1b14708 commit 6f9e992

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

conformance/utils/kubernetes/helpers.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,8 @@ func WaitForGatewayAddress(t *testing.T, client client.Client, timeoutConfig con
409409

410410
port = strconv.FormatInt(int64(gw.Spec.Listeners[0].Port), 10)
411411

412-
// TODO: Support more than IPAddress
413412
for _, address := range gw.Status.Addresses {
414-
if address.Type != nil && *address.Type == gatewayv1.IPAddressType {
413+
if address.Type != nil && (*address.Type == gatewayv1.IPAddressType || *address.Type == v1alpha2.HostnameAddressType) {
415414
ipAddr = address.Value
416415
return true, nil
417416
}

0 commit comments

Comments
 (0)