diff --git a/config/webhook/manifests.yaml b/config/webhook/manifests.yaml index 1493d5386..0b1a24bfe 100644 --- a/config/webhook/manifests.yaml +++ b/config/webhook/manifests.yaml @@ -1,3 +1,4 @@ +--- apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration metadata: diff --git a/test/e2e/ingress/vanilla_ingress_test.go b/test/e2e/ingress/vanilla_ingress_test.go index d83bde27f..063ba4be0 100644 --- a/test/e2e/ingress/vanilla_ingress_test.go +++ b/test/e2e/ingress/vanilla_ingress_test.go @@ -766,10 +766,15 @@ var _ = Describe("vanilla ingress tests", func() { // test traffic ExpectLBDNSBeAvailable(ctx, tf, lbARN, lbDNS) - httpExp := httpexpect.New(tf.LoggerReporter, fmt.Sprintf("http://%v", lbDNS)) - httpExp.GET("/path").Expect(). - Status(http.StatusOK). - Body().Equal("Hello World!") + + //TODO: update the traffic test for dualstack-without-public-ipv4 ALB + // as it may need additional setup compared to dualstack ALB + if annotation["alb.ingress.kubernetes.io/ip-address-type"] != "dualstack-without-public-ipv4" { + httpExp := httpexpect.New(tf.LoggerReporter, fmt.Sprintf("http://%v", lbDNS)) + httpExp.GET("/path").Expect(). + Status(http.StatusOK). + Body().Equal("Hello World!") + } }) }) })