From e62977b95f552c22cf52f93efeca46593927671c Mon Sep 17 00:00:00 2001 From: Arko Dasgupta Date: Fri, 29 Nov 2024 17:20:07 -0800 Subject: [PATCH] listen on ipv4 addresses by default (#4817) * listen on `::` if the listener IPFamily is `IPv6` or `DualStack` * Set `ipv4_compat` to `true` if `IPFamily` is `DualStack` Signed-off-by: Arko Dasgupta (cherry picked from commit d1a8c4720315d5feb80c066643c463845f4b2ec7) Signed-off-by: Huabing Zhao --- .../translate/out/default-resources.all.yaml | 25 +- .../out/from-gateway-api-to-xds.all.json | 20 +- .../out/from-gateway-api-to-xds.all.yaml | 20 +- .../from-gateway-api-to-xds.bootstrap.yaml | 5 +- .../out/from-gateway-api-to-xds.listener.yaml | 15 +- ...-single-route-single-match-to-xds.all.json | 8 +- ...-single-route-single-match-to-xds.all.yaml | 8 +- ...e-route-single-match-to-xds.bootstrap.yaml | 5 +- ...le-route-single-match-to-xds.listener.yaml | 3 +- .../out/no-service-cluster-ip.all.yaml | 8 +- .../translate/out/quickstart.all.yaml | 2 +- internal/gatewayapi/helpers.go | 2 +- internal/gatewayapi/listener.go | 7 +- .../backend-invalid-feature-disabled.out.yaml | 2 +- .../testdata/backend-with-fallback.out.yaml | 2 +- .../backendtlspolicy-across-ns.out.yaml | 2 +- .../backendtlspolicy-ca-only-secret.out.yaml | 2 +- .../backendtlspolicy-ca-only.out.yaml | 2 +- ...ndtlspolicy-default-ns-targetrefs.out.yaml | 4 +- .../backendtlspolicy-default-ns.out.yaml | 2 +- .../backendtlspolicy-invalid-ca.out.yaml | 2 +- ...backendtlspolicy-multiple-targets.out.yaml | 2 +- ...ackendtlspolicy-system-truststore.out.yaml | 2 +- ...y-buffer-limit-out-of-range-error.out.yaml | 4 +- ...y-buffer-limit-with-invalid-value.out.yaml | 4 +- ...backendtrafficpolicy-buffer-limit.out.yaml | 4 +- ...endtrafficpolicy-override-replace.out.yaml | 2 +- ...ndtrafficpolicy-status-conditions.out.yaml | 8 +- ...fficpolicy-status-fault-injection.out.yaml | 4 +- ...trafficpolicy-use-client-protocol.out.yaml | 2 +- ...policy-with-circuitbreakers-error.out.yaml | 4 +- ...rafficpolicy-with-circuitbreakers.out.yaml | 4 +- ...ndtrafficpolicy-with-dns-settings.out.yaml | 4 +- ...endtrafficpolicy-with-healthcheck.out.yaml | 4 +- .../backendtrafficpolicy-with-http2.out.yaml | 4 +- ...fficpolicy-with-httproute-timeout.out.yaml | 2 +- ...nvalid-consistent-hash-table-size.out.yaml | 2 +- ...ndtrafficpolicy-with-loadbalancer.out.yaml | 4 +- ...telimit-default-route-level-limit.out.yaml | 2 +- ...ocal-ratelimit-invalid-limit-unit.out.yaml | 2 +- ...ocal-ratelimit-invalid-match-type.out.yaml | 2 +- ...valid-multiple-route-level-limits.out.yaml | 2 +- ...rafficpolicy-with-local-ratelimit.out.yaml | 2 +- ...dtrafficpolicy-with-proxyprotocol.out.yaml | 4 +- ...ratelimit-invalid-distinct-invert.out.yaml | 2 +- ...licy-with-ratelimit-invalid-regex.out.yaml | 2 +- ...ckendtrafficpolicy-with-ratelimit.out.yaml | 4 +- ...esponse-override-invalid-valueref.out.yaml | 4 +- ...fficpolicy-with-response-override.out.yaml | 4 +- ...backendtrafficpolicy-with-retries.out.yaml | 4 +- ...olicy-with-same-prefix-httproutes.out.yaml | 2 +- ...cp-udp-listeners-apply-on-gateway.out.yaml | 4 +- ...-tcp-udp-listeners-apply-on-route.out.yaml | 4 +- ...ndtrafficpolicy-with-tcpkeepalive.out.yaml | 4 +- ...dtrafficpolicy-with-timeout-error.out.yaml | 2 +- ...ficpolicy-with-timeout-targetrefs.out.yaml | 4 +- ...backendtrafficpolicy-with-timeout.out.yaml | 4 +- ...cy-buffer-limit-with-format-error.out.yaml | 4 +- ...fer-limit-with-out-of-range-error.out.yaml | 4 +- .../clienttrafficpolicy-buffer-limit.out.yaml | 4 +- ...trafficpolicy-client-ip-detection.out.yaml | 8 +- ...fficpolicy-connection-limit-error.out.yaml | 4 +- ...enttrafficpolicy-connection-limit.out.yaml | 4 +- ...nttrafficpolicy-for-tcp-listeners.out.yaml | 4 +- ...clienttrafficpolicy-headers-error.out.yaml | 2 +- .../clienttrafficpolicy-headers.out.yaml | 4 +- ...nttrafficpolicy-http-health-check.out.yaml | 2 +- .../clienttrafficpolicy-http10.out.yaml | 10 +- .../clienttrafficpolicy-http2.out.yaml | 4 +- .../clienttrafficpolicy-http3.out.yaml | 2 +- ...ficpolicy-idle-timeout-with-error.out.yaml | 2 +- .../clienttrafficpolicy-idle-timeout.out.yaml | 4 +- ...icpolicy-mtls-client-verification.out.yaml | 6 +- ...s-forward-client-cert-custom-data.out.yaml | 12 +- ...icpolicy-mtls-forward-client-cert.out.yaml | 12 +- .../clienttrafficpolicy-mtls.out.yaml | 6 +- ...clienttrafficpolicy-path-settings.out.yaml | 4 +- ...cy-preserve-case-multiple-targets.out.yaml | 6 +- ...clienttrafficpolicy-preserve-case.out.yaml | 4 +- ...clienttrafficpolicy-proxyprotocol.out.yaml | 4 +- ...enttrafficpolicy-ratelimitheaders.out.yaml | 4 +- ...nttrafficpolicy-status-conditions.out.yaml | 10 +- ...clienttrafficpolicy-tcp-keepalive.out.yaml | 4 +- ...ttrafficpolicy-timeout-with-error.out.yaml | 2 +- .../clienttrafficpolicy-timeout.out.yaml | 4 +- .../clienttrafficpolicy-tls-settings.out.yaml | 4 +- .../clienttrafficpolicy-trailers.out.yaml | 4 +- .../testdata/conflicting-policies.out.yaml | 4 +- .../testdata/custom-filter-order.out.yaml | 2 +- .../testdata/disable-accesslog.out.yaml | 2 +- ...ensionpolicy-invalid-cross-ns-ref.out.yaml | 2 +- ...yextensionpolicy-override-replace.out.yaml | 2 +- ...extensionpolicy-status-conditions.out.yaml | 8 +- ...-extproc-invalid-no-matching-port.out.yaml | 2 +- ...licy-with-extproc-invalid-no-port.out.yaml | 2 +- ...xtproc-invalid-no-reference-grant.out.yaml | 2 +- ...y-with-extproc-invalid-no-service.out.yaml | 2 +- ...ith-extproc-with-backendtlspolicy.out.yaml | 2 +- ...extproc-with-multiple-backendrefs.out.yaml | 2 +- ...ith-extproc-with-traffic-features.out.yaml | 2 +- ...xtensionpolicy-with-wasm-env-vars.out.yaml | 2 +- ...ensionpolicy-with-wasm-targetrefs.out.yaml | 2 +- .../envoyextensionpolicy-with-wasm.out.yaml | 2 +- .../envoypatchpolicy-cross-ns-target.out.yaml | 2 +- ...chpolicy-invalid-feature-disabled.out.yaml | 2 +- ...nvalid-target-kind-merge-gateways.out.yaml | 2 +- ...oypatchpolicy-invalid-target-kind.out.yaml | 2 +- ...ypatchpolicy-valid-merge-gateways.out.yaml | 2 +- .../testdata/envoypatchpolicy-valid.out.yaml | 2 +- .../envoyproxy-accesslog-als-json.out.yaml | 2 +- ...oyproxy-accesslog-backend-invalid.out.yaml | 2 +- .../envoyproxy-accesslog-backend.out.yaml | 2 +- ...yproxy-accesslog-cel-with-invalid.out.yaml | 2 +- .../envoyproxy-accesslog-cel.out.yaml | 2 +- ...oxy-accesslog-file-json-no-format.out.yaml | 2 +- .../envoyproxy-accesslog-file-json.out.yaml | 2 +- .../envoyproxy-accesslog-types.out.yaml | 2 +- ...voyproxy-accesslog-with-bad-sinks.out.yaml | 2 +- ...envoyproxy-accesslog-with-traffic.out.yaml | 2 +- ...voyproxy-accesslog-without-format.out.yaml | 2 +- .../testdata/envoyproxy-accesslog.out.yaml | 2 +- ...roxy-endpoint-routing-for-gateway.out.yaml | 2 +- .../envoyproxy-endpoint-routing.out.yaml | 2 +- ...envoyproxy-metric-backend-invalid.out.yaml | 2 +- .../envoyproxy-metric-backend.out.yaml | 2 +- ...envoyproxy-metric-enabled-backend.out.yaml | 2 +- .../envoyproxy-priority-backend.out.yaml | 2 +- ...proxy-service-routing-for-gateway.out.yaml | 2 +- .../envoyproxy-service-routing.out.yaml | 2 +- ...nvoyproxy-tls-settings-invalid-ns.out.yaml | 4 +- .../envoyproxy-tls-settings-invalid.out.yaml | 4 +- .../testdata/envoyproxy-tls-settings.out.yaml | 4 +- ...nvoyproxy-tracing-backend-invalid.out.yaml | 2 +- .../envoyproxy-tracing-backend.out.yaml | 2 +- .../testdata/envoyproxy-valid.out.yaml | 2 +- .../extensionpolicy-tcp-listener.out.yaml | 4 +- .../extensionpolicy-udp-listener.out.yaml | 4 +- ...tensionpolicy-with-invalid-target.out.yaml | 4 +- ...ionpolicy-with-valid-target-array.out.yaml | 4 +- ...extensionpolicy-with-valid-target.out.yaml | 4 +- ...th-extension-filter-invalid-group.out.yaml | 2 +- ...ith-non-matching-extension-filter.out.yaml | 2 +- ...with-unsupported-extension-filter.out.yaml | 2 +- ...route-with-valid-extension-filter.out.yaml | 2 +- ...-namespace-with-allowed-httproute.out.yaml | 2 +- ...mespace-with-disallowed-httproute.out.yaml | 2 +- ...stener-with-hostname-intersection.out.yaml | 4 +- .../testdata/gateway-infrastructure.out.yaml | 2 +- ...way-with-addresses-with-ipaddress.out.yaml | 2 +- ...with-infrastructure-parametersref.out.yaml | 2 +- ...ture-parametersref-does-not-exist.out.yaml | 2 +- ...astructure-parametersref-fallback.out.yaml | 2 +- ...route-with-mismatch-port-protocol.out.yaml | 2 +- ...h-tcproute-with-multiple-backends.out.yaml | 2 +- ...with-tcproute-with-multiple-rules.out.yaml | 2 +- ...her-namespace-allowed-by-refgrant.out.yaml | 2 +- ...ith-tls-terminate-and-passthrough.out.yaml | 4 +- ...route-with-mismatch-port-protocol.out.yaml | 2 +- ...h-udproute-with-multiple-backends.out.yaml | 2 +- ...with-udproute-with-multiple-rules.out.yaml | 2 +- ...-listener-with-unmatched-tcproute.out.yaml | 2 +- ...-listener-with-unmatched-udproute.out.yaml | 2 +- ...ith-same-algorithm-different-fqdn.out.yaml | 2 +- ...-valid-multiple-tls-configuration.out.yaml | 2 +- ...ener-with-valid-tls-configuration.out.yaml | 2 +- ...with-preexisting-status-condition.out.yaml | 2 +- ...-listener-with-multiple-tcproutes.out.yaml | 2 +- ...-listener-with-multiple-udproutes.out.yaml | 2 +- ...teway-with-stale-status-condition.out.yaml | 2 +- ...listeners-on-same-tcp-or-tls-port.out.yaml | 2 +- ...th-two-listeners-on-same-udp-port.out.yaml | 2 +- ...isteners-with-multiple-httproutes.out.yaml | 4 +- ...-with-same-port-http-tcp-protocol.out.yaml | 4 +- ...-with-same-port-http-udp-protocol.out.yaml | 4 +- ...s-with-tcproutes-with-sectionname.out.yaml | 4 +- ...ith-tcproutes-without-sectionname.out.yaml | 4 +- ...s-with-udproutes-with-sectionname.out.yaml | 4 +- ...ith-udproutes-without-sectionname.out.yaml | 4 +- .../testdata/grpcroute-with-backend.out.yaml | 2 +- .../grpcroute-with-empty-backends.out.yaml | 2 +- .../grpcroute-with-header-match.out.yaml | 2 +- ...ute-with-method-and-service-match.out.yaml | 2 +- .../grpcroute-with-method-match.out.yaml | 2 +- ...oute-with-request-header-modifier.out.yaml | 2 +- .../grpcroute-with-service-match.out.yaml | 2 +- ...dtrafficpolicy-with-timeout-error.out.yaml | 2 +- ...backendtrafficpolicy-with-timeout.out.yaml | 4 +- ...way-with-more-different-listeners.out.yaml | 16 +- ...ng-to-gateway-with-more-listeners.out.yaml | 16 +- ...wo-listeners-with-different-ports.out.yaml | 4 +- ...ing-to-gateway-with-two-listeners.out.yaml | 4 +- .../httproute-attaching-to-gateway.out.yaml | 2 +- ...taching-to-listener-matching-port.out.yaml | 2 +- ...ner-on-gateway-with-two-listeners.out.yaml | 4 +- ...with-backend-and-core-backendrefs.out.yaml | 2 +- ...end-backendref-mixed-address-type.out.yaml | 2 +- ...-listener-with-backend-backendref.out.yaml | 2 +- ...end-backendrefs-diff-address-type.out.yaml | 2 +- ...end-backendrefs-same-address-type.out.yaml | 2 +- ...ort-backendrefs-diff-address-type.out.yaml | 2 +- ...ort-backendrefs-same-address-type.out.yaml | 2 +- ...port-backendref-fqdn-address-type.out.yaml | 2 +- ...ort-backendref-mixed-address-type.out.yaml | 2 +- ...ner-with-serviceimport-backendref.out.yaml | 2 +- .../httproute-attaching-to-listener.out.yaml | 2 +- ...httproute-backend-request-timeout.out.yaml | 2 +- ...ing-to-listener-non-matching-port.out.yaml | 2 +- .../httproute-request-timeout.out.yaml | 2 +- ...ith-empty-backends-and-no-filters.out.yaml | 2 +- ...-multiple-backends-and-no-weights.out.yaml | 2 +- ...ith-multiple-backends-and-weights.out.yaml | 2 +- ...ervice-backends-and-app-protocols.out.yaml | 2 +- ...-non-service-backends-and-weights.out.yaml | 2 +- ...h-backendref-add-multiple-filters.out.yaml | 2 +- ...her-namespace-allowed-by-refgrant.out.yaml | 2 +- ...her-namespace-allowed-by-refgrant.out.yaml | 2 +- .../httproute-with-direct-response.out.yaml | 2 +- .../httproute-with-empty-matches.out.yaml | 2 +- ...er-duplicate-add-multiple-filters.out.yaml | 2 +- ...with-header-filter-duplicate-adds.out.yaml | 2 +- ...duplicate-remove-multiple-filters.out.yaml | 2 +- ...h-header-filter-duplicate-removes.out.yaml | 2 +- ...header-filter-empty-header-values.out.yaml | 2 +- ...-with-header-filter-empty-headers.out.yaml | 2 +- ...ith-header-filter-invalid-headers.out.yaml | 2 +- ...ute-with-header-filter-no-headers.out.yaml | 2 +- ...th-header-filter-no-valid-headers.out.yaml | 2 +- ...tproute-with-header-filter-remove.out.yaml | 2 +- ...with-invalid-backend-ref-bad-port.out.yaml | 2 +- ...invalid-backend-ref-invalid-group.out.yaml | 2 +- ...-invalid-backend-ref-invalid-kind.out.yaml | 2 +- ...-with-invalid-backend-ref-no-port.out.yaml | 2 +- ...lid-backend-ref-no-service.import.out.yaml | 2 +- ...th-invalid-backend-ref-no-service.out.yaml | 2 +- ...id-backend-ref-unsupported-filter.out.yaml | 2 +- ...lid-backendref-in-other-namespace.out.yaml | 2 +- .../httproute-with-invalid-regex.out.yaml | 4 +- .../testdata/httproute-with-metadata.out.yaml | 2 +- ...ute-with-mirror-filter-duplicates.out.yaml | 2 +- ...route-with-mirror-filter-multiple.out.yaml | 2 +- ...ith-mirror-filter-service-no-port.out.yaml | 2 +- ...h-mirror-filter-service-not-found.out.yaml | 2 +- .../httproute-with-mirror-filter.out.yaml | 2 +- ...oute-with-multi-gateways-notmatch.out.yaml | 4 +- ...ith-multi-gateways-with-same-name.out.yaml | 4 +- ...ltiple-gateways-from-different-ns.out.yaml | 4 +- ...th-multiple-gateways-from-same-ns.out.yaml | 4 +- ...to-gateway-with-wildcard-hostname.out.yaml | 2 +- ...ct-filter-full-path-replace-https.out.yaml | 2 +- ...ute-with-redirect-filter-hostname.out.yaml | 2 +- ...direct-filter-invalid-filter-type.out.yaml | 2 +- ...th-redirect-filter-invalid-scheme.out.yaml | 2 +- ...th-redirect-filter-invalid-status.out.yaml | 2 +- ...ter-prefix-replace-with-port-http.out.yaml | 2 +- ...-with-response-header-filter-adds.out.yaml | 2 +- ...er-duplicate-add-multiple-filters.out.yaml | 2 +- ...onse-header-filter-duplicate-adds.out.yaml | 2 +- ...duplicate-remove-multiple-filters.out.yaml | 2 +- ...e-header-filter-duplicate-removes.out.yaml | 2 +- ...header-filter-empty-header-values.out.yaml | 2 +- ...ponse-header-filter-empty-headers.out.yaml | 2 +- ...nse-header-filter-invalid-headers.out.yaml | 2 +- ...response-header-filter-no-headers.out.yaml | 2 +- ...se-header-filter-no-valid-headers.out.yaml | 2 +- ...ith-response-header-filter-remove.out.yaml | 2 +- ...single-rule-with-exact-path-match.out.yaml | 2 +- ...ingle-rule-with-http-method-match.out.yaml | 2 +- ...h-single-rule-with-multiple-rules.out.yaml | 2 +- ...h-prefix-and-exact-header-matches.out.yaml | 2 +- ...e-invalid-backend-refs-no-service.out.yaml | 2 +- ...to-gateway-with-wildcard-hostname.out.yaml | 2 +- ...to-gateway-with-wildcard-hostname.out.yaml | 2 +- ...ite-filter-full-path-replace-http.out.yaml | 2 +- ...te-filter-hostname-prefix-replace.out.yaml | 2 +- ...e-with-urlrewrite-filter-hostname.out.yaml | 2 +- ...ewrite-filter-invalid-filter-type.out.yaml | 2 +- ...rlrewrite-filter-invalid-hostname.out.yaml | 2 +- ...e-filter-invalid-multiple-filters.out.yaml | 2 +- ...lrewrite-filter-invalid-path-type.out.yaml | 2 +- ...th-urlrewrite-filter-invalid-path.out.yaml | 2 +- ...th-urlrewrite-filter-missing-path.out.yaml | 2 +- ...ewrite-filter-prefix-replace-http.out.yaml | 2 +- ...e-filter-regex-match-replace-http.out.yaml | 2 +- ...ilter-regex-match-replace-invalid.out.yaml | 2 +- ...rlrewrite-hostname-filter-invalid.out.yaml | 2 +- ...e-with-urlrewrite-hostname-filter.out.yaml | 2 +- ...ng-to-gateway-with-unset-hostname.out.yaml | 2 +- .../httproutes-with-multiple-matches.out.yaml | 2 +- .../merge-invalid-multiple-gateways.out.yaml | 4 +- ...ays-multiple-listeners-same-ports.out.yaml | 8 +- ...multiple-gateways-multiple-routes.out.yaml | 6 +- .../merge-valid-multiple-gateways.out.yaml | 6 +- .../merge-with-isolated-policies-2.out.yaml | 8 +- .../merge-with-isolated-policies.out.yaml | 4 +- ...curitypolicy-invalid-cross-ns-ref.out.yaml | 2 +- .../securitypolicy-override-replace.out.yaml | 2 +- .../securitypolicy-status-conditions.out.yaml | 6 +- ...icy-with-authoriztion-client-cidr.out.yaml | 2 +- ...olicy-with-authoriztion-jwt-claim.out.yaml | 2 +- .../securitypolicy-with-basic-auth.out.yaml | 2 +- ...curitypolicy-with-cors-targetrefs.out.yaml | 6 +- .../securitypolicy-with-cors.out.yaml | 6 +- ...curitypolicy-with-extauth-backend.out.yaml | 2 +- ...itypolicy-with-extauth-backendref.out.yaml | 2 +- ...-extauth-invalid-no-matching-port.out.yaml | 2 +- ...licy-with-extauth-invalid-no-port.out.yaml | 2 +- ...xtauth-invalid-no-reference-grant.out.yaml | 2 +- ...y-with-extauth-invalid-no-service.out.yaml | 2 +- ...policy-with-extauth-recomputation.out.yaml | 2 +- ...ith-extauth-with-backendtlspolicy.out.yaml | 2 +- .../securitypolicy-with-extauth.out.yaml | 2 +- ...ypolicy-with-jwt-and-invalid-oidc.out.yaml | 2 +- .../securitypolicy-with-jwt-optional.out.yaml | 4 +- ...cy-with-jwt-with-custom-extractor.out.yaml | 4 +- .../testdata/securitypolicy-with-jwt.out.yaml | 4 +- ...typolicy-with-oidc-backendcluster.out.yaml | 2 +- ...typolicy-with-oidc-custom-cookies.out.yaml | 2 +- ...typolicy-with-oidc-invalid-issuer.out.yaml | 2 +- ...olicy-with-oidc-invalid-secretref.out.yaml | 6 +- .../securitypolicy-with-oidc.out.yaml | 2 +- ...teway-with-listener-tls-terminate.out.yaml | 4 +- .../testdata/tcproute-with-backend.out.yaml | 2 +- .../tlsroute-attaching-to-gateway.out.yaml | 2 +- .../testdata/tlsroute-multiple.out.yaml | 2 +- .../testdata/tlsroute-with-backend.out.yaml | 2 +- ...her-namespace-allowed-by-refgrant.out.yaml | 2 +- .../tlsroute-with-empty-hostname.out.yaml | 2 +- ...oute-with-empty-listener-hostname.out.yaml | 2 +- .../tracing-merged-multiple-routes.out.yaml | 6 +- .../testdata/tracing-multiple-routes.out.yaml | 6 +- .../proxy/resource_provider_test.go | 15 + .../proxy/testdata/daemonsets/custom.yaml | 5 +- .../testdata/daemonsets/default-env.yaml | 5 +- .../proxy/testdata/daemonsets/default.yaml | 5 +- .../daemonsets/disable-prometheus.yaml | 5 +- .../testdata/daemonsets/extension-env.yaml | 5 +- .../override-labels-and-annotations.yaml | 5 +- .../testdata/daemonsets/patch-daemonset.yaml | 5 +- .../testdata/daemonsets/shutdown-manager.yaml | 5 +- .../proxy/testdata/daemonsets/volumes.yaml | 5 +- .../testdata/daemonsets/with-annotations.yaml | 5 +- .../testdata/daemonsets/with-extra-args.yaml | 5 +- .../daemonsets/with-image-pull-secrets.yaml | 5 +- .../proxy/testdata/daemonsets/with-name.yaml | 5 +- .../daemonsets/with-node-selector.yaml | 5 +- .../with-topology-spread-constraints.yaml | 5 +- .../proxy/testdata/deployments/custom.yaml | 5 +- .../custom_with_initcontainers.yaml | 5 +- .../testdata/deployments/default-env.yaml | 5 +- .../proxy/testdata/deployments/default.yaml | 5 +- .../deployments/disable-prometheus.yaml | 5 +- .../testdata/deployments/dual-stack.yaml | 381 ++++++++++++++++++ .../testdata/deployments/extension-env.yaml | 5 +- .../proxy/testdata/deployments/ipv6.yaml | 11 +- .../override-labels-and-annotations.yaml | 5 +- .../deployments/patch-deployment.yaml | 5 +- .../deployments/shutdown-manager.yaml | 5 +- .../proxy/testdata/deployments/volumes.yaml | 5 +- .../deployments/with-annotations.yaml | 5 +- .../deployments/with-empty-memory-limits.yaml | 5 +- .../testdata/deployments/with-extra-args.yaml | 5 +- .../deployments/with-image-pull-secrets.yaml | 5 +- .../proxy/testdata/deployments/with-name.yaml | 5 +- .../deployments/with-node-selector.yaml | 5 +- .../with-topology-spread-constraints.yaml | 5 +- internal/ir/xds.go | 4 +- internal/utils/net/ip.go | 1 + internal/xds/bootstrap/bootstrap.go | 23 +- internal/xds/bootstrap/bootstrap.yaml.tpl | 2 + .../bootstrap/testdata/merge/default.out.yaml | 5 +- .../merge/merge-user-bootstrap.out.yaml | 5 +- .../merge/patch-global-config.out.yaml | 5 +- .../testdata/merge/stats_sinks.out.yaml | 5 +- .../testdata/render/custom-server-port.yaml | 5 +- .../testdata/render/custom-stats-matcher.yaml | 5 +- .../testdata/render/disable-prometheus.yaml | 5 +- .../enable-prometheus-gzip-compression.yaml | 5 +- .../testdata/render/enable-prometheus.yaml | 5 +- .../xds/bootstrap/testdata/render/ipv6.yaml | 1 - .../render/otel-metrics-backendref.yaml | 5 +- .../testdata/render/otel-metrics.yaml | 5 +- .../render/with-max-heap-size-bytes.yaml | 5 +- internal/xds/translator/listener.go | 21 +- ...xtensionpolicy-tcp-udp-http.listeners.yaml | 2 - ...http-route-extension-filter.listeners.yaml | 1 - .../http-route.listeners.yaml | 1 - .../listener-policy.listeners.yaml | 1 - .../out/xds-ir/accesslog-cel.listeners.yaml | 1 - .../accesslog-endpoint-stats.listeners.yaml | 1 - .../accesslog-formatters.listeners.yaml | 1 - .../xds-ir/accesslog-multi-cel.listeners.yaml | 1 - .../out/xds-ir/accesslog-types.listeners.yaml | 1 - .../accesslog-without-format.listeners.yaml | 1 - .../out/xds-ir/accesslog.listeners.yaml | 1 - .../authorization-client-cidr.listeners.yaml | 1 - .../authorization-jwt-claim.listeners.yaml | 1 - .../authorization-jwt-scope.listeners.yaml | 1 - ...ization-multiple-principals.listeners.yaml | 1 - .../backend-buffer-limit.listeners.yaml | 3 - .../xds-ir/backend-priority.listeners.yaml | 1 - .../out/xds-ir/basic-auth.listeners.yaml | 1 - .../out/xds-ir/circuit-breaker.listeners.yaml | 1 - .../xds-ir/client-buffer-limit.listeners.yaml | 2 - .../xds-ir/client-ip-detection.listeners.yaml | 3 - .../out/xds-ir/client-timeout.listeners.yaml | 2 - .../testdata/out/xds-ir/cors.listeners.yaml | 1 - .../xds-ir/custom-filter-order.listeners.yaml | 1 - .../out/xds-ir/custom-response.listeners.yaml | 1 - .../xds-ir/ext-auth-backend.listeners.yaml | 1 - .../ext-auth-recomputation.listeners.yaml | 1 - .../out/xds-ir/ext-auth.listeners.yaml | 1 - ...-proc-with-traffic-settings.listeners.yaml | 1 - .../out/xds-ir/ext-proc.listeners.yaml | 1 - .../out/xds-ir/fault-injection.listeners.yaml | 1 - ...-with-preserve-x-request-id.listeners.yaml | 2 - ...ers-with-underscores-action.listeners.yaml | 4 - .../out/xds-ir/health-check.listeners.yaml | 1 - .../http-early-header-mutation.listeners.yaml | 2 - .../xds-ir/http-endpoint-stats.listeners.yaml | 1 - .../xds-ir/http-health-check.listeners.yaml | 1 - ...tp-preserve-client-protocol.listeners.yaml | 1 - .../http-req-resp-sizes-stats.listeners.yaml | 1 - .../http-route-direct-response.listeners.yaml | 1 - .../http-route-dns-cluster.listeners.yaml | 1 - .../xds-ir/http-route-mirror.listeners.yaml | 1 - ...http-route-multiple-matches.listeners.yaml | 1 - ...http-route-multiple-mirrors.listeners.yaml | 1 - .../http-route-partial-invalid.listeners.yaml | 1 - .../xds-ir/http-route-redirect.listeners.yaml | 1 - .../xds-ir/http-route-regex.listeners.yaml | 1 - .../http-route-request-headers.listeners.yaml | 1 - ...-route-response-add-headers.listeners.yaml | 1 - ...response-add-remove-headers.listeners.yaml | 1 - ...ute-response-remove-headers.listeners.yaml | 1 - ...ewrite-root-path-url-prefix.listeners.yaml | 1 - ...ufixx-with-slash-url-prefix.listeners.yaml | 1 - ...-route-rewrite-url-fullpath.listeners.yaml | 1 - ...http-route-rewrite-url-host.listeners.yaml | 1 - ...tp-route-rewrite-url-prefix.listeners.yaml | 1 - ...ttp-route-rewrite-url-regex.listeners.yaml | 1 - ...p-route-session-persistence.listeners.yaml | 1 - .../xds-ir/http-route-timeout.listeners.yaml | 1 - ...ute-weighted-backend-uds-ip.listeners.yaml | 1 - ...ighted-backend-with-filters.listeners.yaml | 1 - ...http-route-weighted-backend.listeners.yaml | 1 - ...te-weighted-invalid-backend.listeners.yaml | 1 - .../http-route-with-clientcert.listeners.yaml | 1 - .../http-route-with-metadata.listeners.yaml | 1 - ...-with-tls-system-truststore.listeners.yaml | 1 - ...th-tlsbundle-multiple-certs.listeners.yaml | 2 - .../http-route-with-tlsbundle.listeners.yaml | 1 - .../out/xds-ir/http-route.listeners.yaml | 1 - .../xds-ir/http1-preserve-case.listeners.yaml | 2 - .../out/xds-ir/http1-trailers.listeners.yaml | 1 - .../testdata/out/xds-ir/http10.listeners.yaml | 1 - .../out/xds-ir/http2-route.listeners.yaml | 1 - .../testdata/out/xds-ir/http2.listeners.yaml | 1 - .../testdata/out/xds-ir/http3.listeners.yaml | 2 - .../jsonpatch-missing-resource.listeners.yaml | 1 - .../jsonpatch-with-jsonpath.listeners.yaml | 1 - .../out/xds-ir/jsonpatch.listeners.yaml | 1 - .../jwt-custom-extractor.listeners.yaml | 1 - ...-multi-route-multi-provider.listeners.yaml | 1 - ...multi-route-single-provider.listeners.yaml | 1 - .../out/xds-ir/jwt-optional.listeners.yaml | 1 - .../out/xds-ir/jwt-ratelimit.listeners.yaml | 1 - ...t-single-route-single-match.listeners.yaml | 1 - .../listener-connection-limit.listeners.yaml | 4 - .../listener-proxy-protocol.listeners.yaml | 2 - .../listener-tcp-keepalive.listeners.yaml | 4 - .../listener-tcp-without-route.listeners.yaml | 1 - .../out/xds-ir/load-balancer.listeners.yaml | 1 - .../out/xds-ir/local-ratelimit.listeners.yaml | 1 - .../metrics-virtual-host.listeners.yaml | 1 - .../xds-ir/mixed-tls-jwt-authn.listeners.yaml | 1 - ...port-with-different-filters.listeners.yaml | 2 - ...ultiple-listeners-same-port.listeners.yaml | 1 - ...-simple-tcp-route-same-port.listeners.yaml | 1 - ...ertificate-with-custom-data.listeners.yaml | 5 - ...-forward-client-certificate.listeners.yaml | 5 - ...client-certificate-disabled.listeners.yaml | 2 - .../out/xds-ir/mutual-tls.listeners.yaml | 2 - ...dc-backend-cluster-provider.listeners.yaml | 1 - .../testdata/out/xds-ir/oidc.listeners.yaml | 1 - .../out/xds-ir/path-settings.listeners.yaml | 1 - .../proxy-protocol-upstream.listeners.yaml | 1 - .../ratelimit-custom-domain.listeners.yaml | 1 - .../ratelimit-disable-headers.listeners.yaml | 1 - .../ratelimit-endpoint-stats.listeners.yaml | 1 - .../ratelimit-headers-and-cidr.listeners.yaml | 1 - .../xds-ir/ratelimit-sourceip.listeners.yaml | 1 - .../out/xds-ir/ratelimit.listeners.yaml | 1 - .../retry-partial-invalid.listeners.yaml | 1 - ...ypolicy-with-oidc-jwt-authz.listeners.yaml | 1 - .../out/xds-ir/simple-tls.listeners.yaml | 1 - .../suppress-envoy-headers.listeners.yaml | 1 - .../xds-ir/tcp-endpoint-stats.listeners.yaml | 1 - .../tcp-req-resp-sizes-stats.listeners.yaml | 1 - .../xds-ir/tcp-route-complex.listeners.yaml | 1 - .../xds-ir/tcp-route-simple.listeners.yaml | 1 - .../tcp-route-tls-terminate.listeners.yaml | 1 - .../tcp-route-weighted-backend.listeners.yaml | 1 - .../out/xds-ir/timeout.listeners.yaml | 1 - .../tls-route-passthrough.listeners.yaml | 2 - ...-with-ciphers-versions-alpn.listeners.yaml | 2 - .../out/xds-ir/tracing-datadog.listeners.yaml | 1 - .../tracing-endpoint-stats.listeners.yaml | 1 - .../out/xds-ir/tracing-zipkin.listeners.yaml | 1 - .../out/xds-ir/tracing.listeners.yaml | 1 - .../xds-ir/udp-endpoint-stats.listeners.yaml | 1 - .../udp-req-resp-sizes-stats.listeners.yaml | 1 - .../out/xds-ir/udp-route.listeners.yaml | 1 - .../upstream-tcpkeepalive.listeners.yaml | 1 - .../testdata/out/xds-ir/wasm.listeners.yaml | 1 - internal/xds/translator/translator.go | 7 +- 515 files changed, 1041 insertions(+), 853 deletions(-) create mode 100644 internal/infrastructure/kubernetes/proxy/testdata/deployments/dual-stack.yaml diff --git a/internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml b/internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml index 231b0d46dd7..01c6b368d19 100644 --- a/internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml +++ b/internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml @@ -40,13 +40,12 @@ envoyProxyForGatewayClass: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager @@ -659,8 +658,7 @@ xds: listeners: - address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 19001 filterChains: - filters: @@ -691,7 +689,7 @@ xds: route: cluster: prometheus_stats statPrefix: eg-ready-http - name: envoy-gateway-proxy-ready-::-19001 + name: envoy-gateway-proxy-ready-0.0.0.0-19001 - '@type': type.googleapis.com/envoy.admin.v3.EndpointsConfigDump dynamicEndpointConfigs: - endpointConfig: @@ -893,8 +891,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 10080 defaultFilterChain: filters: @@ -953,8 +950,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 8080 defaultFilterChain: filters: @@ -1021,8 +1017,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 1234 filterChains: - filters: @@ -1061,8 +1056,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 8443 filterChains: - filterChainMatch: @@ -1108,8 +1102,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 1234 protocol: UDP listenerFilters: diff --git a/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.json b/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.json index 0e9e4a813c5..0e4a954a7f0 100644 --- a/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.json +++ b/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.json @@ -234,8 +234,7 @@ { "address": { "socketAddress": { - "address": "::", - "ipv4Compat": true, + "address": "0.0.0.0", "portValue": 19001 } }, @@ -296,7 +295,7 @@ ] } ], - "name": "envoy-gateway-proxy-ready-::-19001" + "name": "envoy-gateway-proxy-ready-0.0.0.0-19001" } ] } @@ -638,8 +637,7 @@ ], "address": { "socketAddress": { - "address": "::", - "ipv4Compat": true, + "address": "0.0.0.0", "portValue": 10080 } }, @@ -730,8 +728,7 @@ ], "address": { "socketAddress": { - "address": "::", - "ipv4Compat": true, + "address": "0.0.0.0", "portValue": 8080 } }, @@ -836,8 +833,7 @@ ], "address": { "socketAddress": { - "address": "::", - "ipv4Compat": true, + "address": "0.0.0.0", "portValue": 1234 } }, @@ -902,8 +898,7 @@ ], "address": { "socketAddress": { - "address": "::", - "ipv4Compat": true, + "address": "0.0.0.0", "portValue": 8443 } }, @@ -981,8 +976,7 @@ ], "address": { "socketAddress": { - "address": "::", - "ipv4Compat": true, + "address": "0.0.0.0", "portValue": 1234, "protocol": "UDP" } diff --git a/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.yaml b/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.yaml index bbb0fe7664d..1df8c3966e6 100644 --- a/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.yaml +++ b/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.yaml @@ -137,8 +137,7 @@ xds: listeners: - address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 19001 filterChains: - filters: @@ -169,7 +168,7 @@ xds: route: cluster: prometheus_stats statPrefix: eg-ready-http - name: envoy-gateway-proxy-ready-::-19001 + name: envoy-gateway-proxy-ready-0.0.0.0-19001 - '@type': type.googleapis.com/envoy.admin.v3.EndpointsConfigDump dynamicEndpointConfigs: - endpointConfig: @@ -371,8 +370,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 10080 defaultFilterChain: filters: @@ -431,8 +429,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 8080 defaultFilterChain: filters: @@ -499,8 +496,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 1234 filterChains: - filters: @@ -539,8 +535,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 8443 filterChains: - filterChainMatch: @@ -586,8 +581,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 1234 protocol: UDP listenerFilters: diff --git a/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.bootstrap.yaml b/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.bootstrap.yaml index ae66cada56d..b378fdc17b5 100644 --- a/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.bootstrap.yaml +++ b/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.bootstrap.yaml @@ -136,8 +136,7 @@ xds: listeners: - address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 19001 filterChains: - filters: @@ -168,4 +167,4 @@ xds: route: cluster: prometheus_stats statPrefix: eg-ready-http - name: envoy-gateway-proxy-ready-::-19001 + name: envoy-gateway-proxy-ready-0.0.0.0-19001 diff --git a/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.listener.yaml b/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.listener.yaml index 99b3a3f2cf5..b6c94a95ae8 100644 --- a/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.listener.yaml +++ b/internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.listener.yaml @@ -20,8 +20,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 10080 defaultFilterChain: filters: @@ -80,8 +79,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 8080 defaultFilterChain: filters: @@ -148,8 +146,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 1234 filterChains: - filters: @@ -188,8 +185,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 8443 filterChains: - filterChainMatch: @@ -235,8 +231,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 1234 protocol: UDP listenerFilters: diff --git a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json index 5b8e401907a..4364e67b7fd 100644 --- a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json +++ b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json @@ -234,8 +234,7 @@ { "address": { "socketAddress": { - "address": "::", - "ipv4Compat": true, + "address": "0.0.0.0", "portValue": 19001 } }, @@ -296,7 +295,7 @@ ] } ], - "name": "envoy-gateway-proxy-ready-::-19001" + "name": "envoy-gateway-proxy-ready-0.0.0.0-19001" } ] } @@ -461,8 +460,7 @@ ], "address": { "socketAddress": { - "address": "::", - "ipv4Compat": true, + "address": "0.0.0.0", "portValue": 10080 } }, diff --git a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml index 11bc52b64f2..56654aa018f 100644 --- a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml +++ b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml @@ -137,8 +137,7 @@ xds: listeners: - address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 19001 filterChains: - filters: @@ -169,7 +168,7 @@ xds: route: cluster: prometheus_stats statPrefix: eg-ready-http - name: envoy-gateway-proxy-ready-::-19001 + name: envoy-gateway-proxy-ready-0.0.0.0-19001 - '@type': type.googleapis.com/envoy.admin.v3.EndpointsConfigDump dynamicEndpointConfigs: - endpointConfig: @@ -266,8 +265,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 10080 defaultFilterChain: filters: diff --git a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.bootstrap.yaml b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.bootstrap.yaml index a4c85fd324a..f2838d95bc9 100644 --- a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.bootstrap.yaml +++ b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.bootstrap.yaml @@ -136,8 +136,7 @@ xds: listeners: - address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 19001 filterChains: - filters: @@ -168,4 +167,4 @@ xds: route: cluster: prometheus_stats statPrefix: eg-ready-http - name: envoy-gateway-proxy-ready-::-19001 + name: envoy-gateway-proxy-ready-0.0.0.0-19001 diff --git a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml index fc47046f781..c9ee8194bf9 100644 --- a/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml +++ b/internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml @@ -20,8 +20,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 10080 defaultFilterChain: filters: diff --git a/internal/cmd/egctl/testdata/translate/out/no-service-cluster-ip.all.yaml b/internal/cmd/egctl/testdata/translate/out/no-service-cluster-ip.all.yaml index 5737d7ef4ff..1a88c9245c7 100644 --- a/internal/cmd/egctl/testdata/translate/out/no-service-cluster-ip.all.yaml +++ b/internal/cmd/egctl/testdata/translate/out/no-service-cluster-ip.all.yaml @@ -137,8 +137,7 @@ xds: listeners: - address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 19001 filterChains: - filters: @@ -169,7 +168,7 @@ xds: route: cluster: prometheus_stats statPrefix: eg-ready-http - name: envoy-gateway-proxy-ready-::-19001 + name: envoy-gateway-proxy-ready-0.0.0.0-19001 - '@type': type.googleapis.com/envoy.admin.v3.EndpointsConfigDump dynamicEndpointConfigs: - endpointConfig: @@ -228,8 +227,7 @@ xds: path: /dev/stdout address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 10080 defaultFilterChain: filters: diff --git a/internal/cmd/egctl/testdata/translate/out/quickstart.all.yaml b/internal/cmd/egctl/testdata/translate/out/quickstart.all.yaml index 862c8e8b795..de96e757e8e 100644 --- a/internal/cmd/egctl/testdata/translate/out/quickstart.all.yaml +++ b/internal/cmd/egctl/testdata/translate/out/quickstart.all.yaml @@ -95,7 +95,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/helpers.go b/internal/gatewayapi/helpers.go index 366a24b827e..6ed1d7699a6 100644 --- a/internal/gatewayapi/helpers.go +++ b/internal/gatewayapi/helpers.go @@ -621,7 +621,7 @@ func getIPFamily(envoyProxy *egv1a1.EnvoyProxy) *ir.IPFamily { case egv1a1.IPv6: result = ir.IPv6 case egv1a1.DualStack: - result = ir.Dualstack + result = ir.DualStack default: return nil } diff --git a/internal/gatewayapi/listener.go b/internal/gatewayapi/listener.go index 71235414814..bf369e7b827 100644 --- a/internal/gatewayapi/listener.go +++ b/internal/gatewayapi/listener.go @@ -101,8 +101,11 @@ func (t *Translator) ProcessListeners(gateways []*GatewayContext, xdsIR resource continue } - // EG always use `::` and set ipv4_compact with true to support both IPv4 and IPv6 - address := net.IPv6ListenerAddress + address := net.IPv4ListenerAddress + ipFamily := getIPFamily(gateway.envoyProxy) + if ipFamily != nil && (*ipFamily == ir.IPv6 || *ipFamily == ir.DualStack) { + address = net.IPv6ListenerAddress + } // Add the listener to the Xds IR servicePort := &protocolPort{protocol: listener.Protocol, port: int32(listener.Port)} diff --git a/internal/gatewayapi/testdata/backend-invalid-feature-disabled.out.yaml b/internal/gatewayapi/testdata/backend-invalid-feature-disabled.out.yaml index 496795222d9..49d35c60700 100644 --- a/internal/gatewayapi/testdata/backend-invalid-feature-disabled.out.yaml +++ b/internal/gatewayapi/testdata/backend-invalid-feature-disabled.out.yaml @@ -153,7 +153,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backend-with-fallback.out.yaml b/internal/gatewayapi/testdata/backend-with-fallback.out.yaml index 94b4d02065d..74bd61795fe 100644 --- a/internal/gatewayapi/testdata/backend-with-fallback.out.yaml +++ b/internal/gatewayapi/testdata/backend-with-fallback.out.yaml @@ -138,7 +138,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtlspolicy-across-ns.out.yaml b/internal/gatewayapi/testdata/backendtlspolicy-across-ns.out.yaml index 7d776a1784f..fde390c7efe 100644 --- a/internal/gatewayapi/testdata/backendtlspolicy-across-ns.out.yaml +++ b/internal/gatewayapi/testdata/backendtlspolicy-across-ns.out.yaml @@ -121,7 +121,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtlspolicy-ca-only-secret.out.yaml b/internal/gatewayapi/testdata/backendtlspolicy-ca-only-secret.out.yaml index a65ea66d0ab..a5b87b3fa1f 100644 --- a/internal/gatewayapi/testdata/backendtlspolicy-ca-only-secret.out.yaml +++ b/internal/gatewayapi/testdata/backendtlspolicy-ca-only-secret.out.yaml @@ -132,7 +132,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtlspolicy-ca-only.out.yaml b/internal/gatewayapi/testdata/backendtlspolicy-ca-only.out.yaml index f85b9c73c3f..8489f047341 100644 --- a/internal/gatewayapi/testdata/backendtlspolicy-ca-only.out.yaml +++ b/internal/gatewayapi/testdata/backendtlspolicy-ca-only.out.yaml @@ -132,7 +132,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtlspolicy-default-ns-targetrefs.out.yaml b/internal/gatewayapi/testdata/backendtlspolicy-default-ns-targetrefs.out.yaml index 3467422f204..9f4874f90f4 100644 --- a/internal/gatewayapi/testdata/backendtlspolicy-default-ns-targetrefs.out.yaml +++ b/internal/gatewayapi/testdata/backendtlspolicy-default-ns-targetrefs.out.yaml @@ -266,7 +266,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -323,7 +323,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtlspolicy-default-ns.out.yaml b/internal/gatewayapi/testdata/backendtlspolicy-default-ns.out.yaml index c8898169624..2e2186879f9 100644 --- a/internal/gatewayapi/testdata/backendtlspolicy-default-ns.out.yaml +++ b/internal/gatewayapi/testdata/backendtlspolicy-default-ns.out.yaml @@ -227,7 +227,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtlspolicy-invalid-ca.out.yaml b/internal/gatewayapi/testdata/backendtlspolicy-invalid-ca.out.yaml index cb968f9a6a0..100efbcab4f 100644 --- a/internal/gatewayapi/testdata/backendtlspolicy-invalid-ca.out.yaml +++ b/internal/gatewayapi/testdata/backendtlspolicy-invalid-ca.out.yaml @@ -132,7 +132,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtlspolicy-multiple-targets.out.yaml b/internal/gatewayapi/testdata/backendtlspolicy-multiple-targets.out.yaml index 207713455e8..8ecd25a2418 100644 --- a/internal/gatewayapi/testdata/backendtlspolicy-multiple-targets.out.yaml +++ b/internal/gatewayapi/testdata/backendtlspolicy-multiple-targets.out.yaml @@ -174,7 +174,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtlspolicy-system-truststore.out.yaml b/internal/gatewayapi/testdata/backendtlspolicy-system-truststore.out.yaml index 8438c8551ce..f91dc4d768e 100644 --- a/internal/gatewayapi/testdata/backendtlspolicy-system-truststore.out.yaml +++ b/internal/gatewayapi/testdata/backendtlspolicy-system-truststore.out.yaml @@ -129,7 +129,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-out-of-range-error.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-out-of-range-error.out.yaml index b64b9faa39a..bb171e01da7 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-out-of-range-error.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-out-of-range-error.out.yaml @@ -249,7 +249,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -292,7 +292,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-with-invalid-value.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-with-invalid-value.out.yaml index b0b46e91d66..654c9bdab4a 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-with-invalid-value.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit-with-invalid-value.out.yaml @@ -249,7 +249,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -292,7 +292,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit.out.yaml index 0db555c1cfd..d95c8a0fcc0 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-buffer-limit.out.yaml @@ -249,7 +249,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -292,7 +292,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-override-replace.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-override-replace.out.yaml index a956f1b4706..8aafd70c0bb 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-override-replace.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-override-replace.out.yaml @@ -272,7 +272,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml index 1e671f11044..1a054712d80 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml @@ -521,7 +521,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -540,7 +540,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -578,7 +578,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -612,6 +612,6 @@ xdsIR: name: grpcroute/envoy-gateway/grpcroute-1/rule/0/match/0/* traffic: {} tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-2/tcp port: 10053 diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-status-fault-injection.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-status-fault-injection.out.yaml index b263c244b51..02222719f3f 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-status-fault-injection.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-status-fault-injection.out.yaml @@ -329,7 +329,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -373,7 +373,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-use-client-protocol.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-use-client-protocol.out.yaml index 678fc4dea50..0a13771f373 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-use-client-protocol.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-use-client-protocol.out.yaml @@ -127,7 +127,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers-error.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers-error.out.yaml index 80a166ac5d5..2b49ea23741 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers-error.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers-error.out.yaml @@ -311,7 +311,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -349,7 +349,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers.out.yaml index a1cf0fa2af5..575bfca2e1b 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-circuitbreakers.out.yaml @@ -253,7 +253,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -296,7 +296,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-dns-settings.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-dns-settings.out.yaml index 04202343698..12bbf12dbe7 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-dns-settings.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-dns-settings.out.yaml @@ -318,7 +318,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -362,7 +362,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-healthcheck.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-healthcheck.out.yaml index 792b473aba5..4f964492673 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-healthcheck.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-healthcheck.out.yaml @@ -678,7 +678,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -787,7 +787,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-http2.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-http2.out.yaml index ca5371fc7df..35dbb164bf1 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-http2.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-http2.out.yaml @@ -251,7 +251,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -293,7 +293,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-httproute-timeout.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-httproute-timeout.out.yaml index 371a3709c9f..245739ca233 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-httproute-timeout.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-httproute-timeout.out.yaml @@ -130,7 +130,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer-invalid-consistent-hash-table-size.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer-invalid-consistent-hash-table-size.out.yaml index 0562588ff18..dc2ba7fb3d3 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer-invalid-consistent-hash-table-size.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer-invalid-consistent-hash-table-size.out.yaml @@ -201,7 +201,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer.out.yaml index 30918a9739b..b2378edf754 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-loadbalancer.out.yaml @@ -421,7 +421,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -460,7 +460,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-default-route-level-limit.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-default-route-level-limit.out.yaml index bc398deeace..d64aea61aee 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-default-route-level-limit.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-default-route-level-limit.out.yaml @@ -150,7 +150,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-limit-unit.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-limit-unit.out.yaml index 3097821b6ae..0be116e1ebf 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-limit-unit.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-limit-unit.out.yaml @@ -154,7 +154,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-match-type.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-match-type.out.yaml index f4b263b7c99..21cae9b09f3 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-match-type.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-match-type.out.yaml @@ -150,7 +150,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-multiple-route-level-limits.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-multiple-route-level-limits.out.yaml index f92bea8d0ca..0fd1f442bd8 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-multiple-route-level-limits.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit-invalid-multiple-route-level-limits.out.yaml @@ -157,7 +157,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit.out.yaml index 5f212860b63..f05856b9630 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-local-ratelimit.out.yaml @@ -153,7 +153,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-proxyprotocol.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-proxyprotocol.out.yaml index 46398f5452d..c65df985ac5 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-proxyprotocol.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-proxyprotocol.out.yaml @@ -245,7 +245,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -284,7 +284,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-distinct-invert.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-distinct-invert.out.yaml index 75e47abd4ec..4ea1623c867 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-distinct-invert.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-distinct-invert.out.yaml @@ -134,7 +134,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-regex.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-regex.out.yaml index a19a2ed3b72..8b20cbc59c9 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-regex.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit-invalid-regex.out.yaml @@ -136,7 +136,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit.out.yaml index 37763d7d92c..07fa997e109 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-ratelimit.out.yaml @@ -268,7 +268,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -321,7 +321,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override-invalid-valueref.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override-invalid-valueref.out.yaml index 8001e10e433..c1542d9caec 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override-invalid-valueref.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override-invalid-valueref.out.yaml @@ -294,7 +294,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -332,7 +332,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override.out.yaml index 4f0f13c6740..568a57af484 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-response-override.out.yaml @@ -293,7 +293,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -353,7 +353,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-retries.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-retries.out.yaml index 2ae6a02c282..40ae88b602d 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-retries.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-retries.out.yaml @@ -264,7 +264,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -310,7 +310,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-same-prefix-httproutes.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-same-prefix-httproutes.out.yaml index e8d3d65ed90..d032b952236 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-same-prefix-httproutes.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-same-prefix-httproutes.out.yaml @@ -169,7 +169,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-gateway.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-gateway.out.yaml index e96203a9214..9fa8e7235c9 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-gateway.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-gateway.out.yaml @@ -233,7 +233,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: default/tcp-gateway/bar port: 8089 routes: @@ -292,7 +292,7 @@ xdsIR: tcp: connectTimeout: 15s udp: - - address: '::' + - address: 0.0.0.0 name: default/tcp-gateway/foo port: 8162 route: diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-route.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-route.out.yaml index 89f07548c29..5b1707b6f1a 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-route.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-route.out.yaml @@ -306,7 +306,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: default/tcp-gateway/bar port: 8089 routes: @@ -365,7 +365,7 @@ xdsIR: tcp: connectTimeout: 15s udp: - - address: '::' + - address: 0.0.0.0 name: default/tcp-gateway/foo port: 8162 route: diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcpkeepalive.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcpkeepalive.out.yaml index bf91d10226e..0213525db48 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcpkeepalive.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-tcpkeepalive.out.yaml @@ -249,7 +249,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -290,7 +290,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-error.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-error.out.yaml index ab1c94ff3c9..dc80d9e73a8 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-error.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-error.out.yaml @@ -127,7 +127,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-targetrefs.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-targetrefs.out.yaml index 8a25a4a2fc8..ea546413a59 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-targetrefs.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout-targetrefs.out.yaml @@ -237,7 +237,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -277,7 +277,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout.out.yaml b/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout.out.yaml index 0244bcea667..0fad514c5e8 100644 --- a/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout.out.yaml +++ b/internal/gatewayapi/testdata/backendtrafficpolicy-with-timeout.out.yaml @@ -257,7 +257,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -301,7 +301,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-format-error.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-format-error.out.yaml index 2f2cc555d95..a11ad751e08 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-format-error.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-format-error.out.yaml @@ -159,7 +159,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -173,7 +173,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 connection: {} hostnames: - '*' diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-out-of-range-error.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-out-of-range-error.out.yaml index 20191e8b4ba..9993a11f26d 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-out-of-range-error.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit-with-out-of-range-error.out.yaml @@ -160,7 +160,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -174,7 +174,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 connection: {} hostnames: - '*' diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit.out.yaml index bbccfc1a09e..d897fac8887 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-buffer-limit.out.yaml @@ -159,7 +159,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 connection: bufferLimit: 50000000 hostnames: @@ -175,7 +175,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 connection: {} hostnames: - '*' diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-client-ip-detection.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-client-ip-detection.out.yaml index 46d7c08e297..898d87d0be0 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-client-ip-detection.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-client-ip-detection.out.yaml @@ -262,7 +262,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 clientIPDetection: xForwardedFor: numTrustedHops: 2 @@ -279,7 +279,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8081 - - address: '::' + - address: 0.0.0.0 clientIPDetection: customHeader: failClosed: false @@ -297,7 +297,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8082 - - address: '::' + - address: 0.0.0.0 clientIPDetection: customHeader: failClosed: true @@ -315,7 +315,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8083 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit-error.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit-error.out.yaml index d5d78569444..705e23a8d0e 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit-error.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit-error.out.yaml @@ -161,7 +161,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -175,7 +175,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit.out.yaml index 6f99ddff5b9..e4f163f5963 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-connection-limit.out.yaml @@ -161,7 +161,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 connection: limit: closeDelay: 10s @@ -179,7 +179,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 connection: {} hostnames: - '*' diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-for-tcp-listeners.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-for-tcp-listeners.out.yaml index 630ad335e68..efd290c9b1a 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-for-tcp-listeners.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-for-tcp-listeners.out.yaml @@ -184,7 +184,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 connection: bufferLimit: 50000000 limit: @@ -246,7 +246,7 @@ xdsIR: signatureAlgorithms: - sig1 - sig2 - - address: '::' + - address: 0.0.0.0 connection: bufferLimit: 50000000 limit: diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-headers-error.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-headers-error.out.yaml index 5a27962f198..9eee58d7df7 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-headers-error.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-headers-error.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: enableEnvoyHeaders: true preserveXRequestID: true diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-headers.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-headers.out.yaml index 8cc87a5b639..4e66bd91c64 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-headers.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-headers.out.yaml @@ -141,7 +141,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: earlyAddRequestHeaders: - append: true @@ -170,7 +170,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 headers: earlyAddRequestHeaders: - append: true diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-http-health-check.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-http-health-check.out.yaml index 02f8f67aab8..f41c8fd3a2c 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-http-health-check.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-http-health-check.out.yaml @@ -89,7 +89,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 healthCheck: path: /ready hostnames: diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-http10.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-http10.out.yaml index 3343e3028ba..8561d93004a 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-http10.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-http10.out.yaml @@ -454,7 +454,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http1: @@ -470,7 +470,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - www.example.com http1: @@ -487,7 +487,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8080 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http1: {} @@ -502,7 +502,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8081 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http1: @@ -537,7 +537,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http1: {} diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-http2.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-http2.out.yaml index 10aec8cce97..3de4101c8c6 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-http2.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-http2.out.yaml @@ -163,7 +163,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http2: @@ -181,7 +181,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - www.example.com http2: diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-http3.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-http3.out.yaml index c7168804321..814335baf87 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-http3.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-http3.out.yaml @@ -131,7 +131,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http3: diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout-with-error.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout-with-error.out.yaml index 8052587d753..94775b0aeab 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout-with-error.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout-with-error.out.yaml @@ -90,7 +90,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout.out.yaml index af9a6f0c389..e728cd78c63 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-idle-timeout.out.yaml @@ -128,7 +128,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -145,7 +145,7 @@ xdsIR: timeout: http: idleTimeout: 10s - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification.out.yaml index a904d50261f..4cac0b62d34 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification.out.yaml @@ -232,7 +232,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -258,7 +258,7 @@ xdsIR: maxVersion: "1.3" minVersion: "1.2" requireClientCertificate: true - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -277,7 +277,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert-custom-data.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert-custom-data.out.yaml index 9e55ab4521f..6e47f653078 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert-custom-data.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert-custom-data.out.yaml @@ -544,7 +544,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: @@ -574,7 +574,7 @@ xdsIR: maxVersion: "1.3" minVersion: "1.2" requireClientCertificate: true - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: @@ -597,7 +597,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: @@ -632,7 +632,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: @@ -669,7 +669,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: @@ -708,7 +708,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert.out.yaml index 4fff92409a5..8d84753bcea 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls-forward-client-cert.out.yaml @@ -531,7 +531,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: @@ -561,7 +561,7 @@ xdsIR: maxVersion: "1.3" minVersion: "1.2" requireClientCertificate: true - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: @@ -584,7 +584,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: @@ -619,7 +619,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: @@ -654,7 +654,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: @@ -689,7 +689,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: withUnderscoresAction: RejectRequest xForwardedClientCert: diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls.out.yaml index 6325c47a9df..0ee4643dab6 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-mtls.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-mtls.out.yaml @@ -231,7 +231,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -257,7 +257,7 @@ xdsIR: maxVersion: "1.3" minVersion: "1.2" requireClientCertificate: true - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -276,7 +276,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-path-settings.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-path-settings.out.yaml index 38eeb8b5a52..2cf85c63b8b 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-path-settings.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-path-settings.out.yaml @@ -126,7 +126,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -140,7 +140,7 @@ xdsIR: escapedSlashesAction: KeepUnchanged mergeSlashes: false port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case-multiple-targets.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case-multiple-targets.out.yaml index 80d4350f638..5f48ea0ed67 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case-multiple-targets.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case-multiple-targets.out.yaml @@ -198,7 +198,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http1: @@ -220,7 +220,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -234,7 +234,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http1: diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case.out.yaml index 160cc58044c..4f6bfdbdf97 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-preserve-case.out.yaml @@ -126,7 +126,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http1: @@ -143,7 +143,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http1: diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-proxyprotocol.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-proxyprotocol.out.yaml index bfac33d66db..0d88cb4d8fd 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-proxyprotocol.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-proxyprotocol.out.yaml @@ -126,7 +126,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 enableProxyProtocol: true hostnames: - '*' @@ -141,7 +141,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-ratelimitheaders.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-ratelimitheaders.out.yaml index d3daeca2460..51e89d7272b 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-ratelimitheaders.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-ratelimitheaders.out.yaml @@ -126,7 +126,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 headers: disableRateLimitHeaders: true enableEnvoyHeaders: true @@ -144,7 +144,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 headers: disableRateLimitHeaders: true enableEnvoyHeaders: true diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml index 726b258d2b0..f4fcac96827 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml @@ -502,7 +502,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -521,7 +521,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -536,7 +536,7 @@ xdsIR: mergeSlashes: true port: 10080 tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-2/tcp port: 10053 envoy-gateway/gateway-3: @@ -544,7 +544,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -563,7 +563,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-tcp-keepalive.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-tcp-keepalive.out.yaml index b09699c1419..8b0e90b3848 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-tcp-keepalive.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-tcp-keepalive.out.yaml @@ -161,7 +161,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -179,7 +179,7 @@ xdsIR: idleTime: 1200 interval: 60 probes: 3 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-timeout-with-error.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-timeout-with-error.out.yaml index 4554e319052..7d12e8b98ac 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-timeout-with-error.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-timeout-with-error.out.yaml @@ -90,7 +90,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-timeout.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-timeout.out.yaml index 97416a04bab..664f5fe1fc7 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-timeout.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-timeout.out.yaml @@ -128,7 +128,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -145,7 +145,7 @@ xdsIR: timeout: http: requestReceivedTimeout: 5s - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-tls-settings.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-tls-settings.out.yaml index e22afd945bd..ed684f328b4 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-tls-settings.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-tls-settings.out.yaml @@ -147,7 +147,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -180,7 +180,7 @@ xdsIR: - sig2 statefulSessionResumption: true statelessSessionResumption: true - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-trailers.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-trailers.out.yaml index 354cec1af2d..114af441730 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-trailers.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-trailers.out.yaml @@ -125,7 +125,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http1: @@ -141,7 +141,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' http1: diff --git a/internal/gatewayapi/testdata/conflicting-policies.out.yaml b/internal/gatewayapi/testdata/conflicting-policies.out.yaml index 6933902b8f9..8acabbca876 100644 --- a/internal/gatewayapi/testdata/conflicting-policies.out.yaml +++ b/internal/gatewayapi/testdata/conflicting-policies.out.yaml @@ -265,7 +265,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.192.168.0.15.nip.io' isHTTP2: false @@ -300,7 +300,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - qccbahgo.qccbahgo isHTTP2: false diff --git a/internal/gatewayapi/testdata/custom-filter-order.out.yaml b/internal/gatewayapi/testdata/custom-filter-order.out.yaml index 5a19de24652..043eeab1543 100644 --- a/internal/gatewayapi/testdata/custom-filter-order.out.yaml +++ b/internal/gatewayapi/testdata/custom-filter-order.out.yaml @@ -225,7 +225,7 @@ xdsIR: - after: envoy.filters.http.basic_authn name: envoy.filters.http.cors http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/disable-accesslog.out.yaml b/internal/gatewayapi/testdata/disable-accesslog.out.yaml index 2f152a026ac..b0dc0dd4bb1 100644 --- a/internal/gatewayapi/testdata/disable-accesslog.out.yaml +++ b/internal/gatewayapi/testdata/disable-accesslog.out.yaml @@ -119,7 +119,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-invalid-cross-ns-ref.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-invalid-cross-ns-ref.out.yaml index 85f79b1e55c..df3a01d780f 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-invalid-cross-ns-ref.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-invalid-cross-ns-ref.out.yaml @@ -79,7 +79,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-override-replace.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-override-replace.out.yaml index c0b88b42192..2c6b006af93 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-override-replace.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-override-replace.out.yaml @@ -268,7 +268,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-status-conditions.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-status-conditions.out.yaml index 0db35ca4bb0..f4cc57f95ba 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-status-conditions.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-status-conditions.out.yaml @@ -521,7 +521,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -540,7 +540,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -578,7 +578,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -612,6 +612,6 @@ xdsIR: namespace: envoy-gateway name: grpcroute/envoy-gateway/grpcroute-1/rule/0/match/0/* tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-2/tcp port: 10053 diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-matching-port.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-matching-port.out.yaml index 2d0a54ff2da..beac28da518 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-matching-port.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-matching-port.out.yaml @@ -130,7 +130,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-port.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-port.out.yaml index 53232e5735c..efd62e1e0ea 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-port.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-port.out.yaml @@ -130,7 +130,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-reference-grant.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-reference-grant.out.yaml index 7a84bb226c8..ba93c2decdc 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-reference-grant.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-reference-grant.out.yaml @@ -132,7 +132,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-service.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-service.out.yaml index ba22f681a33..066917dd152 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-service.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-invalid-no-service.out.yaml @@ -131,7 +131,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-backendtlspolicy.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-backendtlspolicy.out.yaml index 81863d1acdf..a1d7beec90b 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-backendtlspolicy.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-backendtlspolicy.out.yaml @@ -280,7 +280,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-multiple-backendrefs.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-multiple-backendrefs.out.yaml index 4789f8555e3..a81a7cd4410 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-multiple-backendrefs.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-multiple-backendrefs.out.yaml @@ -280,7 +280,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-traffic-features.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-traffic-features.out.yaml index 93c24363c31..21fb5de6103 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-traffic-features.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-with-extproc-with-traffic-features.out.yaml @@ -309,7 +309,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-env-vars.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-env-vars.out.yaml index f0dfd27144d..4a19852eea0 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-env-vars.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-env-vars.out.yaml @@ -239,7 +239,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-targetrefs.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-targetrefs.out.yaml index 12fad598a5c..8c65fb9cf65 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-targetrefs.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm-targetrefs.out.yaml @@ -207,7 +207,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm.out.yaml b/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm.out.yaml index 71173c47bd0..368c32a4055 100644 --- a/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm.out.yaml +++ b/internal/gatewayapi/testdata/envoyextensionpolicy-with-wasm.out.yaml @@ -241,7 +241,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml b/internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml index 11011a07694..e40792057eb 100644 --- a/internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml +++ b/internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml @@ -61,7 +61,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoypatchpolicy-invalid-feature-disabled.out.yaml b/internal/gatewayapi/testdata/envoypatchpolicy-invalid-feature-disabled.out.yaml index f2a88d508ed..4eff002f05f 100644 --- a/internal/gatewayapi/testdata/envoypatchpolicy-invalid-feature-disabled.out.yaml +++ b/internal/gatewayapi/testdata/envoypatchpolicy-invalid-feature-disabled.out.yaml @@ -87,7 +87,7 @@ xdsIR: type: Accepted controllerName: gateway.envoyproxy.io/gatewayclass-controller http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind-merge-gateways.out.yaml b/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind-merge-gateways.out.yaml index 694ba5cf0ae..e36a5d543ac 100644 --- a/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind-merge-gateways.out.yaml +++ b/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind-merge-gateways.out.yaml @@ -89,7 +89,7 @@ xdsIR: type: Accepted controllerName: gateway.envoyproxy.io/gatewayclass-controller http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml b/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml index 5e28ec9e9d4..14addeb27dc 100644 --- a/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml +++ b/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml @@ -80,7 +80,7 @@ xdsIR: type: Accepted controllerName: gateway.envoyproxy.io/gatewayclass-controller http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoypatchpolicy-valid-merge-gateways.out.yaml b/internal/gatewayapi/testdata/envoypatchpolicy-valid-merge-gateways.out.yaml index a73b592ca7f..315fc208bad 100644 --- a/internal/gatewayapi/testdata/envoypatchpolicy-valid-merge-gateways.out.yaml +++ b/internal/gatewayapi/testdata/envoypatchpolicy-valid-merge-gateways.out.yaml @@ -116,7 +116,7 @@ xdsIR: type: Accepted controllerName: gateway.envoyproxy.io/gatewayclass-controller http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml b/internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml index cb05e3a5858..6ac0112c140 100644 --- a/internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml +++ b/internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml @@ -108,7 +108,7 @@ xdsIR: type: Accepted controllerName: gateway.envoyproxy.io/gatewayclass-controller http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-als-json.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-als-json.out.yaml index eae92fd6677..8695f47ecfa 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-als-json.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-als-json.out.yaml @@ -182,7 +182,7 @@ xdsIR: name: envoy-gateway-system/test type: TCP http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-backend-invalid.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-backend-invalid.out.yaml index fe87871df9b..6c3db20cff0 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-backend-invalid.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-backend-invalid.out.yaml @@ -142,7 +142,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-backend.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-backend.out.yaml index a676d131d70..94763fd2522 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-backend.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-backend.out.yaml @@ -153,7 +153,7 @@ xdsIR: [%START_TIME%] "%REQ(:METHOD)% %PROTOCOL%" %RESPONSE_CODE% %RESPONSE_FLAGS% %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% "%REQ(X-FORWARDED-FOR)%" "%REQ(USER-AGENT)%" "%REQ(X-REQUEST-ID)%" "%REQ(:AUTHORITY)%" "%UPSTREAM_HOST%"\n path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-cel-with-invalid.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-cel-with-invalid.out.yaml index 4c9774307ba..ce6e60861fc 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-cel-with-invalid.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-cel-with-invalid.out.yaml @@ -142,7 +142,7 @@ infraIR: xdsIR: envoy-gateway/gateway-1: http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-cel.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-cel.out.yaml index 6c41786f198..4161575dd8a 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-cel.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-cel.out.yaml @@ -177,7 +177,7 @@ xdsIR: [%START_TIME%] "%REQ(:METHOD)% %PROTOCOL%" %RESPONSE_CODE% %RESPONSE_FLAGS% %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% "%REQ(X-FORWARDED-FOR)%" "%REQ(USER-AGENT)%" "%REQ(X-REQUEST-ID)%" "%REQ(:AUTHORITY)%" "%UPSTREAM_HOST%"\n path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json-no-format.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json-no-format.out.yaml index dfa7cb9e73a..f1fc863b98e 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json-no-format.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json-no-format.out.yaml @@ -126,7 +126,7 @@ xdsIR: envoy-gateway/gateway-1: accessLog: {} http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json.out.yaml index 22351893208..cb2e10fc988 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json.out.yaml @@ -134,7 +134,7 @@ xdsIR: protocol: '%PROTOCOL%' path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-types.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-types.out.yaml index 481d5d35e0b..9c2c0d1cf82 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-types.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-types.out.yaml @@ -426,7 +426,7 @@ xdsIR: this is a Global log path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-with-bad-sinks.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-with-bad-sinks.out.yaml index 4d25ea17358..db14cc4b8e3 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-with-bad-sinks.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-with-bad-sinks.out.yaml @@ -128,7 +128,7 @@ xdsIR: envoy-gateway/gateway-1: accessLog: {} http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-with-traffic.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-with-traffic.out.yaml index 72234e5db1e..28ef831b03a 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-with-traffic.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-with-traffic.out.yaml @@ -310,7 +310,7 @@ xdsIR: [%START_TIME%] "%REQ(:METHOD)% %PROTOCOL%" %RESPONSE_CODE% %RESPONSE_FLAGS% %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% "%REQ(X-FORWARDED-FOR)%" "%REQ(USER-AGENT)%" "%REQ(X-REQUEST-ID)%" "%REQ(:AUTHORITY)%" "%UPSTREAM_HOST%"\n path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-without-format.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-without-format.out.yaml index f9db0b48736..43505266ec0 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-without-format.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-without-format.out.yaml @@ -194,7 +194,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog.out.yaml index 8c2bec37bde..9694dd07ad7 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog.out.yaml @@ -206,7 +206,7 @@ xdsIR: [%START_TIME%] "%REQ(:METHOD)% %PROTOCOL%" %RESPONSE_CODE% %RESPONSE_FLAGS% %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% "%REQ(X-FORWARDED-FOR)%" "%REQ(USER-AGENT)%" "%REQ(X-REQUEST-ID)%" "%REQ(:AUTHORITY)%" "%UPSTREAM_HOST%"\n path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-endpoint-routing-for-gateway.out.yaml b/internal/gatewayapi/testdata/envoyproxy-endpoint-routing-for-gateway.out.yaml index 0e4a18b66dc..1b31bae27e7 100644 --- a/internal/gatewayapi/testdata/envoyproxy-endpoint-routing-for-gateway.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-endpoint-routing-for-gateway.out.yaml @@ -112,7 +112,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-endpoint-routing.out.yaml b/internal/gatewayapi/testdata/envoyproxy-endpoint-routing.out.yaml index 537a739770c..9f058d69051 100644 --- a/internal/gatewayapi/testdata/envoyproxy-endpoint-routing.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-endpoint-routing.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-metric-backend-invalid.out.yaml b/internal/gatewayapi/testdata/envoyproxy-metric-backend-invalid.out.yaml index dcfabe29f4c..0368e1a1a22 100644 --- a/internal/gatewayapi/testdata/envoyproxy-metric-backend-invalid.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-metric-backend-invalid.out.yaml @@ -135,7 +135,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-metric-backend.out.yaml b/internal/gatewayapi/testdata/envoyproxy-metric-backend.out.yaml index 91706f9afd4..4bff8f998d5 100644 --- a/internal/gatewayapi/testdata/envoyproxy-metric-backend.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-metric-backend.out.yaml @@ -128,7 +128,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-metric-enabled-backend.out.yaml b/internal/gatewayapi/testdata/envoyproxy-metric-enabled-backend.out.yaml index 293488ec064..7605114bf22 100644 --- a/internal/gatewayapi/testdata/envoyproxy-metric-enabled-backend.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-metric-enabled-backend.out.yaml @@ -131,7 +131,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-priority-backend.out.yaml b/internal/gatewayapi/testdata/envoyproxy-priority-backend.out.yaml index f5c685bab24..426268f6340 100644 --- a/internal/gatewayapi/testdata/envoyproxy-priority-backend.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-priority-backend.out.yaml @@ -283,7 +283,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-service-routing-for-gateway.out.yaml b/internal/gatewayapi/testdata/envoyproxy-service-routing-for-gateway.out.yaml index 88618649c7e..76859d37624 100644 --- a/internal/gatewayapi/testdata/envoyproxy-service-routing-for-gateway.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-service-routing-for-gateway.out.yaml @@ -112,7 +112,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-service-routing.out.yaml b/internal/gatewayapi/testdata/envoyproxy-service-routing.out.yaml index 1602dc38c8b..a679b4aef60 100644 --- a/internal/gatewayapi/testdata/envoyproxy-service-routing.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-service-routing.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid-ns.out.yaml b/internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid-ns.out.yaml index 6a7e8ddc43c..b70ae56fce4 100644 --- a/internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid-ns.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid-ns.out.yaml @@ -228,7 +228,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -282,7 +282,7 @@ xdsIR: privateKey: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV1Z0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktRd2dnU2dBZ0VBQW9JQkFRQ1pTT21NUlBXWkFqN08KcVFrTVc2d3Bub3NmVCtRMzhmVWJ1U3crRXlablZ1eUNuYlVGZjhIeTVyYkx1K2dmbWszUW8xbnRBVTMzamprUQpXMGQzRHdCdWhKVUM0bkpVRks3cDk2dm9MQ2FTdmlPM0NQbytjUENPdkZ4K1ZrTzYxVkxXOEI2YW04UG5GWndhCmlGRGk0aUdyWXlIK3lsK2RUTmJoZlhIeEJ4T0E1M0IrcTI2K2ZmMFJXUWJKSWNiT1RzOENTSDZJWk1yeGNIcmsKOE1TdjFhWXlQdXpuT1BBQVFsNlRUdlEvNmhJZnF6bXJvd0RIRjRCMENFNUFvb2xFM0ZLT2kwaC9ieTJUN1dxbgo4NkdhdXA0VEtxVnV1Uk5hUU1CZDQ4azA4V3VTUENYSDBoWTVJbm1kdEMxRURKK3pQRk9NUjQycVA0THg5QWdICjNRZTBTMU5yQWdNQkFBRUNnZjk2Zy9QWXh2YVp5NEJuMU5ySkJkOExaT2djYlpjMmdueDZJa3YvVVhaME5obHgKRVlpS2plRmpWNkhXNW9FWHJaKy9tUGY0ZHVzVmFMNzRVOVZvanVQSmNlQWVScmpMM2VPaGJIdGN4KzBnY0dMZwpYeEY5VFJhcDY1VHVVZDFhaTA0aEd3WWY3NXNiUDdSS2JQaXZ3WmdVQWUwQ3BWdWZjaG5YcXJzWXI4cEpZNTFPCldWa1NxejRSWTlXbTBrNUcxSkZ5SXlFQzl1bURsdWpjSE50UlZtYWZrTmZBdENsaVByRktjL245bkpmTzZSRlAKN2c3Vi9JdnFudUlyN1BFM0duNlBhVCtCZ2c0NDh0ZDVKelBwVEE1WkJjQm8yb3J6L2t4WVBGcHIvZ1BVQnFRZApvNm5XcXc3Nlp4d1BsZHdMaEorWFlOWDdvdWN0VVNDTDl1NzdmeUVDZ1lFQXl2N0RseGYrS1FsZkR3bW8vcjFUCjBMMVpuSDQ3MmhpSWVkU2hleVZCSGJFVlRTbXI0MkJSbGpXNERiUmNRTTRWY3h4RGtHclI3NlJHZTlvZzZtemMKUnY4K1ZsQ1gyK3F5OXA1bTZaWHJiQXczMHpDLzVtUGtSV3ViaFVoaSs5ZUNNWmEvaEFJL1JGdjI2OURyQkQyLwo2a2cwRjhYME8vNndJK1dwYXRLM1cwY0NnWUVBd1U5QTZiSnBmYVhLS1hQR21PRy9uVXhUeXp5cVlqS05aSmQvCjlHaEVudUdqSzVDQUVWUEphOGtadmZRemxXbXdaYWZxMERocUk4dkxhRkNEZjhZOEU5OU1hbjNHV2hVYjNWL0oKcU5RUVMzNTZOQ2ZadzdseG9LS0JJdlQ2Y3dpaFRuc0UvUjRIQ3NhbDJ3d040Wmw5SFdOQmdhbVM3VExrejFMaApmd1JEa0wwQ2dZQlo0OWorNW53QTlncG5JVkw1Z3lORGN5WGtlNjNMVlVQU0YwdHV1YitOQTJhNFpiU2RHb0RtCmNHRlJpRVcxMk14OHpjNUpmRlA4dDVVU3NUUVVPeUtNT2VrRDFlcDVVd1B1MjVRYzZldDNUQzNJVW5VWDg3SVkKMzU3ZHRZRkhubFlqMldwemJYOVFxUnk5cmlUMEd0Z0tTZkR2ZWhRK0lQa2szRVZhYlhjT2J3S0JnR0d4QzcwTwp6UUVTcC9nSzZuS1lvNTE2MVY0QWFwcjFzVDhFMFVWUzdGcmU3UGMzTDRHU05saWlhTC8yaVpzWXJteXhUNW1xCjZQanVKUDJ5c3NJQURKeCtYTC8wa0NrMlFiNitpY3NvWUpQR2R6dWthQWpoenVxL05VUFZTanlZUCt6SmZ0dnMKTU9MaFFUQlNCekhidjc3NlNrQ2MwZ1BObEpTeDdnT2l4QUtCQW9HQUpCR1VuM2U1QWZDb21BMUUxRHhSeUxaagpUMFBrQUNlUGpEK3hrRkpod0RoQ2dzd2htNFVKZzFmQW8xaEJRUkZ0dHBWQy91QkxjazE4TUVBSTF2ZGZTeVB2CmtTZzVrVnFQanUzc2czOVRNZ09WZXdqUDNFM0FNUUd1ZzFQNzFZazJ6WUpQbGg5NWRMVTVISlZubzZvdkIrUG0KTHF5K016eDN3a0YwZDhlUFhRND0KLS0tLS1FTkQgUFJJVkFURSBLRVktLS0tLQo= serverCertificate: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURKRENDQWd5Z0F3SUJBZ0lVU3JTYktMZjBiTEVHb2dXeC9nQ3cyR0N0dnhFd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0V6RVJNQThHQTFVRUF3d0lWR1Z6ZENCSmJtTXdIaGNOTWpRd01qSTVNRGt6TURFd1doY05NelF3TWpJMgpNRGt6TURFd1dqQVRNUkV3RHdZRFZRUUREQWhVWlhOMElFbHVZekNDQVNJd0RRWUpLb1pJaHZjTkFRRUJCUUFECmdnRVBBRENDQVFvQ2dnRUJBSzFKempQSWlXZzNxb0hTckFkZGtlSmphTVA5aXlNVGkvQlBvOWNKUG9SRThaaTcKV2FwVXJYTC85QTlyK2pITXlHSVpOWk5kY1o1Y1kyWHYwTFA4WnhWeTJsazArM3d0WXpIbnBHWUdWdHlxMnRldApEaEZzaVBsODJZUmpDMG16V2E0UU16NFNYekZITmdJRHBSZGhmcm92bXNldVdHUUU4cFY0VWQ5VUsvU0tpbE1PCnF0QjVKaXJMUDJWczVUMW9XaWNXTFF2ZmJHd3Y3c0ZEZHI5YkcwWHRTUXAxN0hTZ281MFNERTUrQmpTbXB0RncKMVZjS0xscWFoTVhCRERpb3Jnd2hJaEdHS3BFU2VNMFA3YkZoVm1rTTNhc2gyeFNUQnVGVUJEbEU0Sk9haHp3cwpEWHJ1cFVoRGRTMWhkYzJmUHJqaEZBbEpmV0VZWjZCbFpqeXNpVlVDQXdFQUFhTndNRzR3SFFZRFZSME9CQllFCkZCUXVmSzFMaWJ1Vm05VHMvVmpCeDhMM3VpTmVNQjhHQTFVZEl3UVlNQmFBRkJRdWZLMUxpYnVWbTlUcy9WakIKeDhMM3VpTmVNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdHd1lEVlIwUkJCUXdFb0lCS29JTktpNWxlR0Z0Y0d4bApMbU52YlRBTkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQWZQUzQxYWdldldNVjNaWHQwQ09GRzN1WWZQRlhuVnc2ClA0MXA5TzZHa2RZc3VxRnZQZVR5eUgyL2RBSUtLd1N6TS9wdGhnOEtuOExabG1KeUZObkExc3RKeG41WGRiVjEKcFBxajhVdllDQnp5ak1JcW1SeW9peUxpUWxib2hNYTBVZEVCS2NIL1BkTEU5SzhUR0pyWmdvR1hxcTFXbWl0RAozdmNQalNlUEtFaVVKVlM5bENoeVNzMEtZNUIraFVRRDBKajZucEZENFprMHhxZHhoMHJXdWVDcXE3dmpxRVl6CnBqNFB3cnVmbjFQQlRtZnhNdVYvVUpWNWViaWtldVpQMzVrV3pMUjdaV0FMN3d1RGRXcC82bzR5azNRTGFuRFEKQ3dnQ0ZjWCtzcyswVnl1TTNZZXJUT1VVOFFWSkp4NFVaQU5aeDYrNDNwZEpaT2NudFBaNENBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo= tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-tls/ port: 10445 routes: diff --git a/internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid.out.yaml b/internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid.out.yaml index a0b5b43e2d4..80c15494330 100644 --- a/internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid.out.yaml @@ -227,7 +227,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -281,7 +281,7 @@ xdsIR: privateKey: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV1Z0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktRd2dnU2dBZ0VBQW9JQkFRQ1pTT21NUlBXWkFqN08KcVFrTVc2d3Bub3NmVCtRMzhmVWJ1U3crRXlablZ1eUNuYlVGZjhIeTVyYkx1K2dmbWszUW8xbnRBVTMzamprUQpXMGQzRHdCdWhKVUM0bkpVRks3cDk2dm9MQ2FTdmlPM0NQbytjUENPdkZ4K1ZrTzYxVkxXOEI2YW04UG5GWndhCmlGRGk0aUdyWXlIK3lsK2RUTmJoZlhIeEJ4T0E1M0IrcTI2K2ZmMFJXUWJKSWNiT1RzOENTSDZJWk1yeGNIcmsKOE1TdjFhWXlQdXpuT1BBQVFsNlRUdlEvNmhJZnF6bXJvd0RIRjRCMENFNUFvb2xFM0ZLT2kwaC9ieTJUN1dxbgo4NkdhdXA0VEtxVnV1Uk5hUU1CZDQ4azA4V3VTUENYSDBoWTVJbm1kdEMxRURKK3pQRk9NUjQycVA0THg5QWdICjNRZTBTMU5yQWdNQkFBRUNnZjk2Zy9QWXh2YVp5NEJuMU5ySkJkOExaT2djYlpjMmdueDZJa3YvVVhaME5obHgKRVlpS2plRmpWNkhXNW9FWHJaKy9tUGY0ZHVzVmFMNzRVOVZvanVQSmNlQWVScmpMM2VPaGJIdGN4KzBnY0dMZwpYeEY5VFJhcDY1VHVVZDFhaTA0aEd3WWY3NXNiUDdSS2JQaXZ3WmdVQWUwQ3BWdWZjaG5YcXJzWXI4cEpZNTFPCldWa1NxejRSWTlXbTBrNUcxSkZ5SXlFQzl1bURsdWpjSE50UlZtYWZrTmZBdENsaVByRktjL245bkpmTzZSRlAKN2c3Vi9JdnFudUlyN1BFM0duNlBhVCtCZ2c0NDh0ZDVKelBwVEE1WkJjQm8yb3J6L2t4WVBGcHIvZ1BVQnFRZApvNm5XcXc3Nlp4d1BsZHdMaEorWFlOWDdvdWN0VVNDTDl1NzdmeUVDZ1lFQXl2N0RseGYrS1FsZkR3bW8vcjFUCjBMMVpuSDQ3MmhpSWVkU2hleVZCSGJFVlRTbXI0MkJSbGpXNERiUmNRTTRWY3h4RGtHclI3NlJHZTlvZzZtemMKUnY4K1ZsQ1gyK3F5OXA1bTZaWHJiQXczMHpDLzVtUGtSV3ViaFVoaSs5ZUNNWmEvaEFJL1JGdjI2OURyQkQyLwo2a2cwRjhYME8vNndJK1dwYXRLM1cwY0NnWUVBd1U5QTZiSnBmYVhLS1hQR21PRy9uVXhUeXp5cVlqS05aSmQvCjlHaEVudUdqSzVDQUVWUEphOGtadmZRemxXbXdaYWZxMERocUk4dkxhRkNEZjhZOEU5OU1hbjNHV2hVYjNWL0oKcU5RUVMzNTZOQ2ZadzdseG9LS0JJdlQ2Y3dpaFRuc0UvUjRIQ3NhbDJ3d040Wmw5SFdOQmdhbVM3VExrejFMaApmd1JEa0wwQ2dZQlo0OWorNW53QTlncG5JVkw1Z3lORGN5WGtlNjNMVlVQU0YwdHV1YitOQTJhNFpiU2RHb0RtCmNHRlJpRVcxMk14OHpjNUpmRlA4dDVVU3NUUVVPeUtNT2VrRDFlcDVVd1B1MjVRYzZldDNUQzNJVW5VWDg3SVkKMzU3ZHRZRkhubFlqMldwemJYOVFxUnk5cmlUMEd0Z0tTZkR2ZWhRK0lQa2szRVZhYlhjT2J3S0JnR0d4QzcwTwp6UUVTcC9nSzZuS1lvNTE2MVY0QWFwcjFzVDhFMFVWUzdGcmU3UGMzTDRHU05saWlhTC8yaVpzWXJteXhUNW1xCjZQanVKUDJ5c3NJQURKeCtYTC8wa0NrMlFiNitpY3NvWUpQR2R6dWthQWpoenVxL05VUFZTanlZUCt6SmZ0dnMKTU9MaFFUQlNCekhidjc3NlNrQ2MwZ1BObEpTeDdnT2l4QUtCQW9HQUpCR1VuM2U1QWZDb21BMUUxRHhSeUxaagpUMFBrQUNlUGpEK3hrRkpod0RoQ2dzd2htNFVKZzFmQW8xaEJRUkZ0dHBWQy91QkxjazE4TUVBSTF2ZGZTeVB2CmtTZzVrVnFQanUzc2czOVRNZ09WZXdqUDNFM0FNUUd1ZzFQNzFZazJ6WUpQbGg5NWRMVTVISlZubzZvdkIrUG0KTHF5K016eDN3a0YwZDhlUFhRND0KLS0tLS1FTkQgUFJJVkFURSBLRVktLS0tLQo= serverCertificate: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURKRENDQWd5Z0F3SUJBZ0lVU3JTYktMZjBiTEVHb2dXeC9nQ3cyR0N0dnhFd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0V6RVJNQThHQTFVRUF3d0lWR1Z6ZENCSmJtTXdIaGNOTWpRd01qSTVNRGt6TURFd1doY05NelF3TWpJMgpNRGt6TURFd1dqQVRNUkV3RHdZRFZRUUREQWhVWlhOMElFbHVZekNDQVNJd0RRWUpLb1pJaHZjTkFRRUJCUUFECmdnRVBBRENDQVFvQ2dnRUJBSzFKempQSWlXZzNxb0hTckFkZGtlSmphTVA5aXlNVGkvQlBvOWNKUG9SRThaaTcKV2FwVXJYTC85QTlyK2pITXlHSVpOWk5kY1o1Y1kyWHYwTFA4WnhWeTJsazArM3d0WXpIbnBHWUdWdHlxMnRldApEaEZzaVBsODJZUmpDMG16V2E0UU16NFNYekZITmdJRHBSZGhmcm92bXNldVdHUUU4cFY0VWQ5VUsvU0tpbE1PCnF0QjVKaXJMUDJWczVUMW9XaWNXTFF2ZmJHd3Y3c0ZEZHI5YkcwWHRTUXAxN0hTZ281MFNERTUrQmpTbXB0RncKMVZjS0xscWFoTVhCRERpb3Jnd2hJaEdHS3BFU2VNMFA3YkZoVm1rTTNhc2gyeFNUQnVGVUJEbEU0Sk9haHp3cwpEWHJ1cFVoRGRTMWhkYzJmUHJqaEZBbEpmV0VZWjZCbFpqeXNpVlVDQXdFQUFhTndNRzR3SFFZRFZSME9CQllFCkZCUXVmSzFMaWJ1Vm05VHMvVmpCeDhMM3VpTmVNQjhHQTFVZEl3UVlNQmFBRkJRdWZLMUxpYnVWbTlUcy9WakIKeDhMM3VpTmVNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdHd1lEVlIwUkJCUXdFb0lCS29JTktpNWxlR0Z0Y0d4bApMbU52YlRBTkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQWZQUzQxYWdldldNVjNaWHQwQ09GRzN1WWZQRlhuVnc2ClA0MXA5TzZHa2RZc3VxRnZQZVR5eUgyL2RBSUtLd1N6TS9wdGhnOEtuOExabG1KeUZObkExc3RKeG41WGRiVjEKcFBxajhVdllDQnp5ak1JcW1SeW9peUxpUWxib2hNYTBVZEVCS2NIL1BkTEU5SzhUR0pyWmdvR1hxcTFXbWl0RAozdmNQalNlUEtFaVVKVlM5bENoeVNzMEtZNUIraFVRRDBKajZucEZENFprMHhxZHhoMHJXdWVDcXE3dmpxRVl6CnBqNFB3cnVmbjFQQlRtZnhNdVYvVUpWNWViaWtldVpQMzVrV3pMUjdaV0FMN3d1RGRXcC82bzR5azNRTGFuRFEKQ3dnQ0ZjWCtzcyswVnl1TTNZZXJUT1VVOFFWSkp4NFVaQU5aeDYrNDNwZEpaT2NudFBaNENBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo= tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-tls/ port: 10445 routes: diff --git a/internal/gatewayapi/testdata/envoyproxy-tls-settings.out.yaml b/internal/gatewayapi/testdata/envoyproxy-tls-settings.out.yaml index 7cdd2805c80..137941240af 100644 --- a/internal/gatewayapi/testdata/envoyproxy-tls-settings.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-tls-settings.out.yaml @@ -226,7 +226,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -284,7 +284,7 @@ xdsIR: privateKey: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV1Z0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktRd2dnU2dBZ0VBQW9JQkFRQ1pTT21NUlBXWkFqN08KcVFrTVc2d3Bub3NmVCtRMzhmVWJ1U3crRXlablZ1eUNuYlVGZjhIeTVyYkx1K2dmbWszUW8xbnRBVTMzamprUQpXMGQzRHdCdWhKVUM0bkpVRks3cDk2dm9MQ2FTdmlPM0NQbytjUENPdkZ4K1ZrTzYxVkxXOEI2YW04UG5GWndhCmlGRGk0aUdyWXlIK3lsK2RUTmJoZlhIeEJ4T0E1M0IrcTI2K2ZmMFJXUWJKSWNiT1RzOENTSDZJWk1yeGNIcmsKOE1TdjFhWXlQdXpuT1BBQVFsNlRUdlEvNmhJZnF6bXJvd0RIRjRCMENFNUFvb2xFM0ZLT2kwaC9ieTJUN1dxbgo4NkdhdXA0VEtxVnV1Uk5hUU1CZDQ4azA4V3VTUENYSDBoWTVJbm1kdEMxRURKK3pQRk9NUjQycVA0THg5QWdICjNRZTBTMU5yQWdNQkFBRUNnZjk2Zy9QWXh2YVp5NEJuMU5ySkJkOExaT2djYlpjMmdueDZJa3YvVVhaME5obHgKRVlpS2plRmpWNkhXNW9FWHJaKy9tUGY0ZHVzVmFMNzRVOVZvanVQSmNlQWVScmpMM2VPaGJIdGN4KzBnY0dMZwpYeEY5VFJhcDY1VHVVZDFhaTA0aEd3WWY3NXNiUDdSS2JQaXZ3WmdVQWUwQ3BWdWZjaG5YcXJzWXI4cEpZNTFPCldWa1NxejRSWTlXbTBrNUcxSkZ5SXlFQzl1bURsdWpjSE50UlZtYWZrTmZBdENsaVByRktjL245bkpmTzZSRlAKN2c3Vi9JdnFudUlyN1BFM0duNlBhVCtCZ2c0NDh0ZDVKelBwVEE1WkJjQm8yb3J6L2t4WVBGcHIvZ1BVQnFRZApvNm5XcXc3Nlp4d1BsZHdMaEorWFlOWDdvdWN0VVNDTDl1NzdmeUVDZ1lFQXl2N0RseGYrS1FsZkR3bW8vcjFUCjBMMVpuSDQ3MmhpSWVkU2hleVZCSGJFVlRTbXI0MkJSbGpXNERiUmNRTTRWY3h4RGtHclI3NlJHZTlvZzZtemMKUnY4K1ZsQ1gyK3F5OXA1bTZaWHJiQXczMHpDLzVtUGtSV3ViaFVoaSs5ZUNNWmEvaEFJL1JGdjI2OURyQkQyLwo2a2cwRjhYME8vNndJK1dwYXRLM1cwY0NnWUVBd1U5QTZiSnBmYVhLS1hQR21PRy9uVXhUeXp5cVlqS05aSmQvCjlHaEVudUdqSzVDQUVWUEphOGtadmZRemxXbXdaYWZxMERocUk4dkxhRkNEZjhZOEU5OU1hbjNHV2hVYjNWL0oKcU5RUVMzNTZOQ2ZadzdseG9LS0JJdlQ2Y3dpaFRuc0UvUjRIQ3NhbDJ3d040Wmw5SFdOQmdhbVM3VExrejFMaApmd1JEa0wwQ2dZQlo0OWorNW53QTlncG5JVkw1Z3lORGN5WGtlNjNMVlVQU0YwdHV1YitOQTJhNFpiU2RHb0RtCmNHRlJpRVcxMk14OHpjNUpmRlA4dDVVU3NUUVVPeUtNT2VrRDFlcDVVd1B1MjVRYzZldDNUQzNJVW5VWDg3SVkKMzU3ZHRZRkhubFlqMldwemJYOVFxUnk5cmlUMEd0Z0tTZkR2ZWhRK0lQa2szRVZhYlhjT2J3S0JnR0d4QzcwTwp6UUVTcC9nSzZuS1lvNTE2MVY0QWFwcjFzVDhFMFVWUzdGcmU3UGMzTDRHU05saWlhTC8yaVpzWXJteXhUNW1xCjZQanVKUDJ5c3NJQURKeCtYTC8wa0NrMlFiNitpY3NvWUpQR2R6dWthQWpoenVxL05VUFZTanlZUCt6SmZ0dnMKTU9MaFFUQlNCekhidjc3NlNrQ2MwZ1BObEpTeDdnT2l4QUtCQW9HQUpCR1VuM2U1QWZDb21BMUUxRHhSeUxaagpUMFBrQUNlUGpEK3hrRkpod0RoQ2dzd2htNFVKZzFmQW8xaEJRUkZ0dHBWQy91QkxjazE4TUVBSTF2ZGZTeVB2CmtTZzVrVnFQanUzc2czOVRNZ09WZXdqUDNFM0FNUUd1ZzFQNzFZazJ6WUpQbGg5NWRMVTVISlZubzZvdkIrUG0KTHF5K016eDN3a0YwZDhlUFhRND0KLS0tLS1FTkQgUFJJVkFURSBLRVktLS0tLQo= serverCertificate: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURKRENDQWd5Z0F3SUJBZ0lVU3JTYktMZjBiTEVHb2dXeC9nQ3cyR0N0dnhFd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0V6RVJNQThHQTFVRUF3d0lWR1Z6ZENCSmJtTXdIaGNOTWpRd01qSTVNRGt6TURFd1doY05NelF3TWpJMgpNRGt6TURFd1dqQVRNUkV3RHdZRFZRUUREQWhVWlhOMElFbHVZekNDQVNJd0RRWUpLb1pJaHZjTkFRRUJCUUFECmdnRVBBRENDQVFvQ2dnRUJBSzFKempQSWlXZzNxb0hTckFkZGtlSmphTVA5aXlNVGkvQlBvOWNKUG9SRThaaTcKV2FwVXJYTC85QTlyK2pITXlHSVpOWk5kY1o1Y1kyWHYwTFA4WnhWeTJsazArM3d0WXpIbnBHWUdWdHlxMnRldApEaEZzaVBsODJZUmpDMG16V2E0UU16NFNYekZITmdJRHBSZGhmcm92bXNldVdHUUU4cFY0VWQ5VUsvU0tpbE1PCnF0QjVKaXJMUDJWczVUMW9XaWNXTFF2ZmJHd3Y3c0ZEZHI5YkcwWHRTUXAxN0hTZ281MFNERTUrQmpTbXB0RncKMVZjS0xscWFoTVhCRERpb3Jnd2hJaEdHS3BFU2VNMFA3YkZoVm1rTTNhc2gyeFNUQnVGVUJEbEU0Sk9haHp3cwpEWHJ1cFVoRGRTMWhkYzJmUHJqaEZBbEpmV0VZWjZCbFpqeXNpVlVDQXdFQUFhTndNRzR3SFFZRFZSME9CQllFCkZCUXVmSzFMaWJ1Vm05VHMvVmpCeDhMM3VpTmVNQjhHQTFVZEl3UVlNQmFBRkJRdWZLMUxpYnVWbTlUcy9WakIKeDhMM3VpTmVNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdHd1lEVlIwUkJCUXdFb0lCS29JTktpNWxlR0Z0Y0d4bApMbU52YlRBTkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQWZQUzQxYWdldldNVjNaWHQwQ09GRzN1WWZQRlhuVnc2ClA0MXA5TzZHa2RZc3VxRnZQZVR5eUgyL2RBSUtLd1N6TS9wdGhnOEtuOExabG1KeUZObkExc3RKeG41WGRiVjEKcFBxajhVdllDQnp5ak1JcW1SeW9peUxpUWxib2hNYTBVZEVCS2NIL1BkTEU5SzhUR0pyWmdvR1hxcTFXbWl0RAozdmNQalNlUEtFaVVKVlM5bENoeVNzMEtZNUIraFVRRDBKajZucEZENFprMHhxZHhoMHJXdWVDcXE3dmpxRVl6CnBqNFB3cnVmbjFQQlRtZnhNdVYvVUpWNWViaWtldVpQMzVrV3pMUjdaV0FMN3d1RGRXcC82bzR5azNRTGFuRFEKQ3dnQ0ZjWCtzcyswVnl1TTNZZXJUT1VVOFFWSkp4NFVaQU5aeDYrNDNwZEpaT2NudFBaNENBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo= tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-tls/ port: 10445 routes: diff --git a/internal/gatewayapi/testdata/envoyproxy-tracing-backend-invalid.out.yaml b/internal/gatewayapi/testdata/envoyproxy-tracing-backend-invalid.out.yaml index 1a43989014b..3506b9a0aba 100644 --- a/internal/gatewayapi/testdata/envoyproxy-tracing-backend-invalid.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-tracing-backend-invalid.out.yaml @@ -135,7 +135,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-tracing-backend.out.yaml b/internal/gatewayapi/testdata/envoyproxy-tracing-backend.out.yaml index cb5292b6d20..b3a44d78fdc 100644 --- a/internal/gatewayapi/testdata/envoyproxy-tracing-backend.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-tracing-backend.out.yaml @@ -155,7 +155,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/envoyproxy-valid.out.yaml b/internal/gatewayapi/testdata/envoyproxy-valid.out.yaml index 6df12542bcc..5bd374167ee 100644 --- a/internal/gatewayapi/testdata/envoyproxy-valid.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-valid.out.yaml @@ -119,7 +119,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/extensions/extensionpolicy-tcp-listener.out.yaml b/internal/gatewayapi/testdata/extensions/extensionpolicy-tcp-listener.out.yaml index 731eebc1c72..0095b815fd7 100644 --- a/internal/gatewayapi/testdata/extensions/extensionpolicy-tcp-listener.out.yaml +++ b/internal/gatewayapi/testdata/extensions/extensionpolicy-tcp-listener.out.yaml @@ -146,7 +146,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 extensionRefs: - object: apiVersion: foo.example.io/v1alpha1 @@ -204,7 +204,7 @@ xdsIR: controllerName: gateway.envoyproxy.io/gatewayclass-controller name: envoy-gateway/gateway-1/tcp1 port: 10080 - - address: '::' + - address: 0.0.0.0 extensionRefs: - object: apiVersion: foo.example.io/v1alpha1 diff --git a/internal/gatewayapi/testdata/extensions/extensionpolicy-udp-listener.out.yaml b/internal/gatewayapi/testdata/extensions/extensionpolicy-udp-listener.out.yaml index 71e6d1cdfe6..1ff835552d9 100644 --- a/internal/gatewayapi/testdata/extensions/extensionpolicy-udp-listener.out.yaml +++ b/internal/gatewayapi/testdata/extensions/extensionpolicy-udp-listener.out.yaml @@ -146,7 +146,7 @@ xdsIR: text: - path: /dev/stdout udp: - - address: '::' + - address: 0.0.0.0 extensionRefs: - object: apiVersion: foo.example.io/v1alpha1 @@ -204,7 +204,7 @@ xdsIR: controllerName: gateway.envoyproxy.io/gatewayclass-controller name: envoy-gateway/gateway-1/udp1 port: 10162 - - address: '::' + - address: 0.0.0.0 extensionRefs: - object: apiVersion: foo.example.io/v1alpha1 diff --git a/internal/gatewayapi/testdata/extensions/extensionpolicy-with-invalid-target.out.yaml b/internal/gatewayapi/testdata/extensions/extensionpolicy-with-invalid-target.out.yaml index 066cd664242..8140d239ab5 100644 --- a/internal/gatewayapi/testdata/extensions/extensionpolicy-with-invalid-target.out.yaml +++ b/internal/gatewayapi/testdata/extensions/extensionpolicy-with-invalid-target.out.yaml @@ -97,7 +97,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -111,7 +111,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10081 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target-array.out.yaml b/internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target-array.out.yaml index 0ba6cb4868c..5a0b8ef2f97 100644 --- a/internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target-array.out.yaml +++ b/internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target-array.out.yaml @@ -157,7 +157,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 extensionRefs: - object: apiVersion: foo.example.io/v1alpha1 @@ -218,7 +218,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 extensionRefs: - object: apiVersion: foo.example.io/v1alpha1 diff --git a/internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target.out.yaml b/internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target.out.yaml index daa4b7e0095..29b482ae554 100644 --- a/internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target.out.yaml +++ b/internal/gatewayapi/testdata/extensions/extensionpolicy-with-valid-target.out.yaml @@ -150,7 +150,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 extensionRefs: - object: apiVersion: foo.example.io/v1alpha1 @@ -191,7 +191,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10081 - - address: '::' + - address: 0.0.0.0 extensionRefs: - object: apiVersion: foo.example.io/v1alpha1 diff --git a/internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml b/internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml index 069d311948f..79aeb1f3eeb 100644 --- a/internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml +++ b/internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml @@ -109,7 +109,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml b/internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml index f2fcc7a5859..d70cea292b5 100644 --- a/internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml +++ b/internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml b/internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml index 13e693b41de..1af974c72bb 100644 --- a/internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml +++ b/internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml b/internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml index 73664fdf291..1cb405e4dd8 100644 --- a/internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml +++ b/internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml b/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml index 56b396fa4b6..2dd68040951 100644 --- a/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml +++ b/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml @@ -96,7 +96,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml b/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml index 6dda7c9d89c..35383fcb502 100644 --- a/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml +++ b/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml @@ -96,7 +96,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-http-listener-with-hostname-intersection.out.yaml b/internal/gatewayapi/testdata/gateway-http-listener-with-hostname-intersection.out.yaml index e384db96691..cb47542a1c7 100644 --- a/internal/gatewayapi/testdata/gateway-http-listener-with-hostname-intersection.out.yaml +++ b/internal/gatewayapi/testdata/gateway-http-listener-with-hostname-intersection.out.yaml @@ -172,7 +172,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -204,7 +204,7 @@ xdsIR: distinct: false name: "" prefix: /empty-hostname - - address: '::' + - address: 0.0.0.0 hostnames: - '*.example.com' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-infrastructure.out.yaml b/internal/gatewayapi/testdata/gateway-infrastructure.out.yaml index 7b402b30fbd..7616aff3b9e 100644 --- a/internal/gatewayapi/testdata/gateway-infrastructure.out.yaml +++ b/internal/gatewayapi/testdata/gateway-infrastructure.out.yaml @@ -114,7 +114,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml b/internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml index 2eb3f6ba8ea..798641857cd 100644 --- a/internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml @@ -66,6 +66,6 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp port: 10080 diff --git a/internal/gatewayapi/testdata/gateway-with-infrastructure-parametersref.out.yaml b/internal/gatewayapi/testdata/gateway-with-infrastructure-parametersref.out.yaml index a4c79fa1d29..8794f263e57 100644 --- a/internal/gatewayapi/testdata/gateway-with-infrastructure-parametersref.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-infrastructure-parametersref.out.yaml @@ -123,7 +123,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-does-not-exist.out.yaml b/internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-does-not-exist.out.yaml index c458d7e982f..deed8d261b5 100644 --- a/internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-does-not-exist.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-does-not-exist.out.yaml @@ -106,7 +106,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-fallback.out.yaml b/internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-fallback.out.yaml index e9402d144eb..0ec88f622c9 100644 --- a/internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-fallback.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-invalid-infrastructure-parametersref-fallback.out.yaml @@ -123,7 +123,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml index d6fcc45aa78..866ca1e861a 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml @@ -91,7 +91,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp port: 10162 routes: diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml index 042f236965e..cbc01a3d11d 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml @@ -95,7 +95,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp port: 10080 routes: diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml index 15fcf27bc68..7e583a73bda 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml @@ -96,6 +96,6 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp port: 10080 diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml index b3ac75fa761..649a4555722 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml @@ -103,7 +103,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml index c5583435fcb..9d4d0a7528e 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml @@ -172,7 +172,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - foo.bar.com isHTTP2: false @@ -214,7 +214,7 @@ xdsIR: privateKey: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2UUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktjd2dnU2pBZ0VBQW9JQkFRQ2QwZlBDYWtweE1nUnUKT0VXQjFiQk5FM3ZseW55aTZWbkV2VWF1OUhvakR2UHVPTFJIaGI4MmoyY1ovMHhnL1lKR09LelBuV2JERkxGNApHdWh3dDRENmFUR0xYNklPODEwTDZ0SXZIWGZNUXRJS2VwdTZ3K3p1WVo4bG1yejB1RjZlWEtqamVIbHhyb2ZrCnVNekM3OUVaU0lYZlZlczJ1SmdVRSs4VGFzSDUzQ2Y4MFNSRGlIeEdxckttdVNjWCtwejBreGdCZ1VWYTVVS20KUWdTZDFmVUxLOUEwNXAxOXkrdURPM204bVhRNkxVQ0N1STFwZHNROGFlNS9zamlxa0VjWlJjMTdWYVgxWjVVaQpvcGZnNW9SY05VTG9VTHNiek9aNTR0YlVDUmdSV2VLbGZxaElINEZ6OUlkVlUyR3dFdEdhMmV6TjgyMVBaQ3QzCjZhbVRIelJsQWdNQkFBRUNnZ0VBWTFGTUlLNDVXTkVNUHJ6RTZUY3NNdVV2RkdhQVZ4bVk5NW5SMEtwajdvb3IKY21CVys2ZXN0TTQ4S1AwaitPbXd3VFpMY29Cd3VoWGN0V1Bob1lXcDhteWUxRUlEdjNyaHRHMDdocEQ1NGg2dgpCZzh3ejdFYStzMk9sT0N6UnlKNzBSY281YlhjWDNGaGJjdnFlRWJwaFFyQnpOSEtLMjZ4cmZqNWZIT3p6T1FGCmJHdUZ3SDVic3JGdFhlajJXM3c4eW90N0ZQSDV3S3RpdnhvSWU5RjMyOXNnOU9EQnZqWnpiaG1LVTArckFTK1kKRGVield2bFJyaEUrbXVmQTN6M0N0QXhDOFJpNzNscFNoTDRQQWlvcG1SUXlxZXRXMjYzOFFxcnM0R3hnNzhwbApJUXJXTmNBc2s3Slg5d3RZenV6UFBXSXRWTTFscFJiQVRhNTJqdFl2NVFLQmdRRE5tMTFtZTRYam1ZSFV2cStZCmFTUzdwK2UybXZEMHVaOU9JeFluQnBWMGkrckNlYnFFMkE1Rm5hcDQ5Yld4QTgwUElldlVkeUpCL2pUUkoxcVMKRUpXQkpMWm1LVkg2K1QwdWw1ZUtOcWxFTFZHU0dCSXNpeE9SUXpDZHBoMkx0UmtBMHVjSVUzY3hiUmVMZkZCRQpiSkdZWENCdlNGcWd0VDlvZTFldVpMVmFOd0tCZ1FERWdENzJENk81eGIweEQ1NDQ1M0RPMUJhZmd6aThCWDRTCk1SaVd2LzFUQ0w5N05sRWtoeXovNmtQd1owbXJRcE5CMzZFdkpKZFVteHdkU2MyWDhrOGcxMC85NVlLQkdWQWoKL3d0YVZYbE9WeEFvK0ZSelpZeFpyQ29uWWFSMHVwUzFybDRtenN4REhlZU9mUVZUTUgwUjdZN0pnbTA5dXQ4SwplanAvSXZBb1F3S0JnQjNaRWlRUWhvMVYrWjBTMlpiOG5KS0plMy9zMmxJTXFHM0ZkaS9RS3Q0eWViQWx6OGY5ClBZVXBzRmZEQTg5Z3grSU1nSm5sZVptdTk2ZnRXSjZmdmJSenllN216TG5zZU05TXZua1lHbGFGWmJRWnZubXMKN3ZoRmtzY3dHRlh4d21GMlBJZmU1Z3pNMDRBeVdjeTFIaVhLS2dNOXM3cGsxWUdyZGowZzdacmRBb0dCQUtLNApDR3MrbkRmMEZTMFJYOWFEWVJrRTdBNy9YUFhtSG5YMkRnU1h5N0Q4NTRPaWdTTWNoUmtPNTErbVNJejNQbllvCk41T1FXM2lHVVl1M1YvYmhnc0VSUzM1V2xmRk9BdDBzRUR5bjF5SVdXcDF5dG93d3BUNkVvUXVuZ2NYZjA5RjMKS1NROXowd3M4VmsvRWkvSFVXcU5LOWFXbU51cmFaT0ZqL2REK1ZkOUFvR0FMWFN3dEE3K043RDRkN0VEMURSRQpHTWdZNVd3OHFvdDZSdUNlNkpUY0FnU3B1MkhNU3JVY2dXclpiQnJZb09FUnVNQjFoMVJydk5ybU1qQlM0VW9FClgyZC8vbGhpOG1wL2VESWN3UDNRa2puanBJRFJWMFN1eWxrUkVaZURKZjVZb3R6eDdFdkJhbzFIbkQrWEg4eUIKVUtmWGJTaHZKVUdhRmgxT3Q1Y3JoM1k9Ci0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K serverCertificate: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUREVENDQWZXZ0F3SUJBZ0lVRUZNaFA5ZUo5WEFCV3NRNVptNmJSazJjTE5Rd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0ZqRVVNQklHQTFVRUF3d0xabTl2TG1KaGNpNWpiMjB3SGhjTk1qUXdNakk1TURrek1ERXdXaGNOTXpRdwpNakkyTURrek1ERXdXakFXTVJRd0VnWURWUVFEREF0bWIyOHVZbUZ5TG1OdmJUQ0NBU0l3RFFZSktvWklodmNOCkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFKbEk2WXhFOVprQ1BzNnBDUXhickNtZWl4OVA1RGZ4OVJ1NUxENFQKSm1kVzdJS2R0UVYvd2ZMbXRzdTc2QithVGRDaldlMEJUZmVPT1JCYlIzY1BBRzZFbFFMaWNsUVVydW4zcStncwpKcEsrSTdjSStqNXc4STY4WEg1V1E3clZVdGJ3SHBxYncrY1ZuQnFJVU9MaUlhdGpJZjdLWDUxTTF1RjljZkVICkU0RG5jSDZyYnI1OS9SRlpCc2toeHM1T3p3Sklmb2hreXZGd2V1VHd4Sy9WcGpJKzdPYzQ4QUJDWHBOTzlEL3EKRWgrck9hdWpBTWNYZ0hRSVRrQ2lpVVRjVW82TFNIOXZMWlB0YXFmem9acTZuaE1xcFc2NUUxcEF3RjNqeVRUeAphNUk4SmNmU0Zqa2llWjIwTFVRTW43TThVNHhIamFvL2d2SDBDQWZkQjdSTFUyc0NBd0VBQWFOVE1GRXdIUVlEClZSME9CQllFRk9SQ0U4dS8xRERXN2loWnA3Y3g5dFNtUG02T01COEdBMVVkSXdRWU1CYUFGT1JDRTh1LzFERFcKN2loWnA3Y3g5dFNtUG02T01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQgpBRnQ1M3pqc3FUYUg1YThFMmNodm1XQWdDcnhSSzhiVkxNeGl3TkdqYm1FUFJ6K3c2TngrazBBOEtFY0lEc0tjClNYY2k1OHU0b1didFZKQmx6YS9adWpIUjZQMUJuT3BsK2FveTc4NGJiZDRQMzl3VExvWGZNZmJCQ20xdmV2aDkKQUpLbncyWnRxcjRta2JMY3hFcWxxM3NCTEZBUzlzUUxuS05DZTJjR0xkVHAyYm9HK3FjZ3lRZ0NJTTZmOEVNdgpXUGlmQ01NR3V6Sy9HUkY0YlBPL1lGNDhld0R1M1VlaWgwWFhkVUFPRTlDdFVhOE5JaGMxVVBhT3pQcnRZVnFyClpPR2t2L0t1K0I3OGg4U0VzTzlYclFjdXdiT25KeDZLdFIrYWV5a3ZBcFhDUTNmWkMvYllLQUFSK1A4QUpvUVoKYndJVW1YaTRnajVtK2JLUGhlK2lyK0U9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0= tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tls-passthrough port: 10090 routes: diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml index 88a7435683f..03cf19502d7 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml @@ -91,7 +91,7 @@ xdsIR: text: - path: /dev/stdout udp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp port: 10162 route: diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml index bf252dfb7e0..70a5a2a8599 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml @@ -95,7 +95,7 @@ xdsIR: text: - path: /dev/stdout udp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp port: 10080 route: diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml index c87bc540bd1..850f9e64cba 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml @@ -96,6 +96,6 @@ xdsIR: text: - path: /dev/stdout udp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp port: 10080 diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml index a44c4ff584c..79295aded7b 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml @@ -59,6 +59,6 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp port: 10080 diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml index 00233142fc1..a30d7cf5a5b 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml @@ -59,6 +59,6 @@ xdsIR: text: - path: /dev/stdout udp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp port: 10080 diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml index 76680aa7090..cb443c09c8b 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml @@ -105,7 +105,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml index 0301ff4616d..754923d89fe 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml @@ -105,7 +105,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml index 613e1040a15..5b692e70ab2 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml @@ -102,7 +102,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml b/internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml index 2575bc79de1..6598bfde8d4 100644 --- a/internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml @@ -96,7 +96,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml b/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml index 7513e60bfb8..f7fd4e2752c 100644 --- a/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml @@ -122,7 +122,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp port: 10162 routes: diff --git a/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml b/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml index c94a3f623a4..4f4555a87e8 100644 --- a/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml @@ -122,7 +122,7 @@ xdsIR: text: - path: /dev/stdout udp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp port: 10162 route: diff --git a/internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml b/internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml index 021cede63bd..10f483e7293 100644 --- a/internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml @@ -102,7 +102,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml index 3bec02c1f8f..e3bc11e2cc5 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml @@ -115,7 +115,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp1 port: 10162 routes: diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml index 0a76a7d86a6..5f904c3de3e 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml @@ -118,7 +118,7 @@ xdsIR: text: - path: /dev/stdout udp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp1 port: 10162 route: diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml index 248169c209b..d6b31a59f6a 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml @@ -168,7 +168,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - foo.com isHTTP2: false @@ -223,7 +223,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - bar.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml index 0238ba3007e..67867078333 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml @@ -163,7 +163,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -199,7 +199,7 @@ xdsIR: name: "" prefix: / tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp port: 10080 routes: diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml index 6d8bd1f0905..b7bdac0b389 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml @@ -163,7 +163,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -199,7 +199,7 @@ xdsIR: name: "" prefix: / udp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp port: 10080 route: diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml index 07e3e01a70c..d2d74cd296e 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml @@ -160,7 +160,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp1 port: 10162 routes: @@ -174,7 +174,7 @@ xdsIR: protocol: TCP weight: 1 name: tcproute/default/tcproute-1 - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp2 port: 10163 routes: diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml index b5a71ddbe5e..20519f07857 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml @@ -156,7 +156,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp1 port: 10161 routes: @@ -170,7 +170,7 @@ xdsIR: protocol: TCP weight: 1 name: tcproute/default/tcproute-1 - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp2 port: 10162 routes: diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml index deac14645ab..00a61415035 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml @@ -160,7 +160,7 @@ xdsIR: text: - path: /dev/stdout udp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp1 port: 10162 route: @@ -174,7 +174,7 @@ xdsIR: protocol: UDP weight: 1 name: udproute/default/udproute-1 - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp2 port: 10163 route: diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml index 96ca8ca522c..f6cb6959c4b 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml @@ -156,7 +156,7 @@ xdsIR: text: - path: /dev/stdout udp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp1 port: 10161 route: @@ -170,7 +170,7 @@ xdsIR: protocol: UDP weight: 1 name: udproute/default/udproute-1 - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/udp2 port: 10162 route: diff --git a/internal/gatewayapi/testdata/grpcroute-with-backend.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-backend.out.yaml index bec911cea72..ba9f13c3136 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-backend.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-backend.out.yaml @@ -123,7 +123,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true diff --git a/internal/gatewayapi/testdata/grpcroute-with-empty-backends.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-empty-backends.out.yaml index 8c2660b6324..2f633cb8a20 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-empty-backends.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-empty-backends.out.yaml @@ -96,7 +96,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true diff --git a/internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml index a41913ed8fb..bc7697e2f18 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true diff --git a/internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml index fafd1fdbf56..765481a5838 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml @@ -104,7 +104,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true diff --git a/internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml index a30cb02b50e..38b49dda801 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml @@ -102,7 +102,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true diff --git a/internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml index 43ada6439a9..110d404c44f 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml @@ -106,7 +106,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true diff --git a/internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml index 639603a07e6..b8855487138 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml @@ -102,7 +102,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true diff --git a/internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout-error.out.yaml b/internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout-error.out.yaml index 22a6796814c..bda6f990dda 100644 --- a/internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout-error.out.yaml +++ b/internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout-error.out.yaml @@ -134,7 +134,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout.out.yaml b/internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout.out.yaml index 004456773c4..04843eba9aa 100644 --- a/internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout.out.yaml +++ b/internal/gatewayapi/testdata/httproute-and-backendtrafficpolicy-with-timeout.out.yaml @@ -254,7 +254,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -297,7 +297,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml index cad7873ad13..e532697a7b4 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml @@ -356,7 +356,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - foo.com isHTTP2: false @@ -391,7 +391,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - bar.com isHTTP2: false @@ -426,7 +426,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - foo1.com isHTTP2: false @@ -461,7 +461,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - bar1.com isHTTP2: false @@ -496,7 +496,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - foo2.com isHTTP2: false @@ -531,7 +531,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - bar2.com isHTTP2: false @@ -566,7 +566,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - foo3.com isHTTP2: false @@ -601,7 +601,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - bar3.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml index ff94451e5bc..5bc5e17485a 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml @@ -307,7 +307,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - foo.com isHTTP2: false @@ -342,7 +342,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - bar.com isHTTP2: false @@ -377,7 +377,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - foo1.com isHTTP2: false @@ -412,7 +412,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - bar1.com isHTTP2: false @@ -447,7 +447,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - foo2.com isHTTP2: false @@ -482,7 +482,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - bar2.com isHTTP2: false @@ -517,7 +517,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - foo3.com isHTTP2: false @@ -552,7 +552,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - bar3.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml index 3ffabbbc4ed..bec756628f7 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml @@ -138,7 +138,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -173,7 +173,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml index 07bb66f43b7..4d3310f2614 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml @@ -127,7 +127,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - foo.com isHTTP2: false @@ -162,7 +162,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - bar.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml index ee8dccb4256..817bc24013a 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml @@ -96,7 +96,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml index 5ce4b0143c2..4abbc554d9d 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml index 8897f06d841..5b4bf8d4bb9 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml @@ -129,7 +129,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - foo.com isHTTP2: false @@ -143,7 +143,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - bar.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-and-core-backendrefs.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-and-core-backendrefs.out.yaml index f4a6b3f6334..484fe119154 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-and-core-backendrefs.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-and-core-backendrefs.out.yaml @@ -202,7 +202,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref-mixed-address-type.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref-mixed-address-type.out.yaml index f5bf64e50d7..80b6f6627b2 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref-mixed-address-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref-mixed-address-type.out.yaml @@ -259,7 +259,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref.out.yaml index f4b38eead2f..cdbbe788086 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-backend-backendref.out.yaml @@ -342,7 +342,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-diff-address-type.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-diff-address-type.out.yaml index e758629820c..3b5ddfa6298 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-diff-address-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-diff-address-type.out.yaml @@ -281,7 +281,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-same-address-type.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-same-address-type.out.yaml index 8f302d19c11..5a413ae4630 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-same-address-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-backend-backendrefs-same-address-type.out.yaml @@ -290,7 +290,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-diff-address-type.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-diff-address-type.out.yaml index a673d3342dd..7b2b55fe1c0 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-diff-address-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-diff-address-type.out.yaml @@ -104,7 +104,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-same-address-type.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-same-address-type.out.yaml index 8c02b288f1d..5667491636e 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-same-address-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-multiple-serviceimport-backendrefs-same-address-type.out.yaml @@ -104,7 +104,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-fqdn-address-type.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-fqdn-address-type.out.yaml index 73f0582b114..e29f978c85e 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-fqdn-address-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-fqdn-address-type.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-mixed-address-type.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-mixed-address-type.out.yaml index 6de22de9901..38c70c4a8d2 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-mixed-address-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref-mixed-address-type.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml index 7efbce03645..144ccbd3c57 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml index 865bc78af93..3bdc7cc4697 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml @@ -98,7 +98,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml b/internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml index 99d9d4f7725..c49d551e867 100644 --- a/internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml +++ b/internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml b/internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml index 3138c613b78..9cd60408345 100644 --- a/internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml +++ b/internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml @@ -99,7 +99,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - foo.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-request-timeout.out.yaml b/internal/gatewayapi/testdata/httproute-request-timeout.out.yaml index 242028fb5bc..dc1c9cb950d 100644 --- a/internal/gatewayapi/testdata/httproute-request-timeout.out.yaml +++ b/internal/gatewayapi/testdata/httproute-request-timeout.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-rule-with-empty-backends-and-no-filters.out.yaml b/internal/gatewayapi/testdata/httproute-rule-with-empty-backends-and-no-filters.out.yaml index ddc5eec76b5..c7fd7b9e40e 100644 --- a/internal/gatewayapi/testdata/httproute-rule-with-empty-backends-and-no-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-rule-with-empty-backends-and-no-filters.out.yaml @@ -93,7 +93,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml b/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml index dbd5d70f62f..11634b9f050 100644 --- a/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml +++ b/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml b/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml index 2f4fc1349a0..e9a785e0d1b 100644 --- a/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml +++ b/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml @@ -106,7 +106,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-app-protocols.out.yaml b/internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-app-protocols.out.yaml index 5e89675b3e5..4c5fcd5e8e2 100644 --- a/internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-app-protocols.out.yaml +++ b/internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-app-protocols.out.yaml @@ -175,7 +175,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-weights.out.yaml b/internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-weights.out.yaml index 3e9f0b780d4..d56407b0dd9 100644 --- a/internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-weights.out.yaml +++ b/internal/gatewayapi/testdata/httproute-rule-with-non-service-backends-and-weights.out.yaml @@ -173,7 +173,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-backendref-add-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-backendref-add-multiple-filters.out.yaml index 3828541e423..122d09efdeb 100644 --- a/internal/gatewayapi/testdata/httproute-with-backendref-add-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-backendref-add-multiple-filters.out.yaml @@ -121,7 +121,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml b/internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml index 290787479f9..d708b748380 100644 --- a/internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml @@ -98,7 +98,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml b/internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml index 58c0c38d89d..9b175f032c4 100644 --- a/internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-direct-response.out.yaml b/internal/gatewayapi/testdata/httproute-with-direct-response.out.yaml index 8be2bc8a4e6..29b6b051366 100644 --- a/internal/gatewayapi/testdata/httproute-with-direct-response.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-direct-response.out.yaml @@ -153,7 +153,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml b/internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml index 6b21dddcd4e..6853b8172b3 100644 --- a/internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml @@ -95,7 +95,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml index 3ab8edd3fb0..605aa384f3e 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml @@ -116,7 +116,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml index 0f06a777a42..f122fc17d5b 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml @@ -126,7 +126,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml index 92a45ab8ea5..e3ea3d5158b 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml @@ -112,7 +112,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml index 5b8b7e76f2f..23567e22077 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml index af3f6e189d5..67c14e133a7 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml @@ -110,7 +110,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml index f49fa9e41e9..7549c52cbb1 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml @@ -112,7 +112,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml index 2b0623b7710..5405ad66246 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml @@ -113,7 +113,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml index faaa608b996..a8986f5d429 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml @@ -104,7 +104,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml index 9a73541ccec..36f621f095c 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml @@ -108,7 +108,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml index f345d70ae45..b111af6e08b 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml @@ -108,7 +108,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml index 6c390846d3a..2ca033356bb 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml @@ -97,7 +97,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml index 26bffbc4231..e7c2869de1c 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml @@ -101,7 +101,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml index 818ac56cde8..a1c5683d27a 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml @@ -99,7 +99,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml index fb9ee9fbe2d..ed62f94f257 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml @@ -97,7 +97,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml index b26a993bf21..794a5d87c3a 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml @@ -99,7 +99,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml index f0af70dfcd6..18019d56e70 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml @@ -97,7 +97,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-unsupported-filter.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-unsupported-filter.out.yaml index 10fbc26ad4f..f9ee3bb21fa 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-unsupported-filter.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-unsupported-filter.out.yaml @@ -104,7 +104,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml index e52f15b3ac1..3500d3be9cc 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml @@ -98,7 +98,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-regex.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-regex.out.yaml index 07e602727f7..05617ca8192 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-regex.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-regex.out.yaml @@ -148,7 +148,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -167,7 +167,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-metadata.out.yaml b/internal/gatewayapi/testdata/httproute-with-metadata.out.yaml index 65528b6af22..8d86bec237a 100644 --- a/internal/gatewayapi/testdata/httproute-with-metadata.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-metadata.out.yaml @@ -98,7 +98,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml b/internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml index 7b213e66450..29d9dd320a5 100644 --- a/internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml @@ -114,7 +114,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml b/internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml index 7251228643b..c6e534c9c63 100644 --- a/internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml @@ -126,7 +126,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml b/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml index ad035eb7c47..50105a1e054 100644 --- a/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml @@ -108,7 +108,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml b/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml index 44ab3461292..c0c193e034a 100644 --- a/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml @@ -108,7 +108,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml b/internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml index e1f711349e6..e9f94617b4e 100644 --- a/internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml @@ -108,7 +108,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-multi-gateways-notmatch.out.yaml b/internal/gatewayapi/testdata/httproute-with-multi-gateways-notmatch.out.yaml index d0f71d4d6a1..c7801a560d0 100644 --- a/internal/gatewayapi/testdata/httproute-with-multi-gateways-notmatch.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-multi-gateways-notmatch.out.yaml @@ -116,7 +116,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -135,7 +135,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-multi-gateways-with-same-name.out.yaml b/internal/gatewayapi/testdata/httproute-with-multi-gateways-with-same-name.out.yaml index 84dae610113..f3c1a6b1ed4 100644 --- a/internal/gatewayapi/testdata/httproute-with-multi-gateways-with-same-name.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-multi-gateways-with-same-name.out.yaml @@ -149,7 +149,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -189,7 +189,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-different-ns.out.yaml b/internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-different-ns.out.yaml index 61b67c75d89..ba2f58b8667 100644 --- a/internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-different-ns.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-different-ns.out.yaml @@ -178,7 +178,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.a.example.com' isHTTP2: false @@ -215,7 +215,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.b.example.com' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-same-ns.out.yaml b/internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-same-ns.out.yaml index 03f487b3aa4..4e6bef64b9e 100644 --- a/internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-same-ns.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-multiple-gateways-from-same-ns.out.yaml @@ -176,7 +176,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.a.example.com' isHTTP2: false @@ -213,7 +213,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.b.example.com' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml index 878e6bd1574..810a78ccb87 100644 --- a/internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml index 9cdddc09c08..d40408b2b02 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml @@ -106,7 +106,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml index 9d122032e5e..d7496698338 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml @@ -104,7 +104,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml index 06dc740e0f6..63b32e64bb8 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml index 440d12ac4a3..43ca155587d 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml @@ -104,7 +104,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml index 104daac410d..588877b155e 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml @@ -103,7 +103,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml index 265050323ef..9676b5d7688 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml index 636bcf1289e..6dcb4b28779 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml @@ -122,7 +122,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml index f89d8bdc91a..47d61c9fcfa 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml @@ -116,7 +116,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml index 5e03bbf8f52..1d2f4f7124c 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml @@ -126,7 +126,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml index a5915c1f9d1..b0dbd71c18d 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml @@ -112,7 +112,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml index 7b6b7508258..893ce8cc969 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml index 0a032d52b85..723cabbe6f7 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml @@ -110,7 +110,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml index 17b26b97dc9..6c8c063716d 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml @@ -112,7 +112,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml index b3c0c252310..f46e5ae3977 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml @@ -113,7 +113,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml index f50cbfec103..e8d2f720d19 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml @@ -104,7 +104,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml index 6a8bec12323..cd89f06e995 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml @@ -108,7 +108,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml index aff1b276aa8..e0f78c08c9d 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml @@ -108,7 +108,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml b/internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml index 0e7d3803555..a73f169aad1 100644 --- a/internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml @@ -97,7 +97,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml b/internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml index c1005576fe9..d4bf9af1612 100644 --- a/internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml @@ -95,7 +95,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml b/internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml index ab30a3cb5db..48706fbfb0c 100644 --- a/internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml @@ -123,7 +123,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml b/internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml index 75b4de50088..0be3cbea1d2 100644 --- a/internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml @@ -101,7 +101,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml b/internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml index 97753e5fcee..ff9f5d272a8 100644 --- a/internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml @@ -101,7 +101,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml index 291ce9105ae..34ec33802bf 100644 --- a/internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml @@ -99,7 +99,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml index 4e4afb6be35..2213aa315cb 100644 --- a/internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml @@ -100,7 +100,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml index 5b9bb7fd74d..3d8c69a6178 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml index 4aed1840d42..8e3079c9bbe 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml @@ -108,7 +108,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml index 7dc2cb30469..c0d8cce8b8a 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml @@ -105,7 +105,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml index 0c8665dc24d..7cbff74f25b 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml @@ -105,7 +105,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml index f30c9859523..e1905ea7933 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml @@ -111,7 +111,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml index 46d54b18956..3dcffc8edbb 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml @@ -113,7 +113,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml index fcb1f1ea710..c51f0b56107 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml @@ -109,7 +109,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml index 20023c84cf8..25991b658fa 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml @@ -108,7 +108,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml index 9e55e63c72a..86b8fce36bd 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml @@ -106,7 +106,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml index d6c093778ea..dd20383d2ea 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml @@ -107,7 +107,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-http.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-http.out.yaml index bb60b64605c..c42f3934568 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-http.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-http.out.yaml @@ -245,7 +245,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-invalid.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-invalid.out.yaml index 24f1e8043f8..17ffc680f52 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-invalid.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-regex-match-replace-invalid.out.yaml @@ -342,7 +342,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter-invalid.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter-invalid.out.yaml index 93a4d218056..ab24ec0e81d 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter-invalid.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter-invalid.out.yaml @@ -348,7 +348,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter.out.yaml index 2979fabc641..916f7d0cefe 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-hostname-filter.out.yaml @@ -249,7 +249,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproute-with-wildcard-hostname-attaching-to-gateway-with-unset-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-wildcard-hostname-attaching-to-gateway-with-unset-hostname.out.yaml index 636d864e709..821a30d4cb3 100644 --- a/internal/gatewayapi/testdata/httproute-with-wildcard-hostname-attaching-to-gateway-with-unset-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-wildcard-hostname-attaching-to-gateway-with-unset-hostname.out.yaml @@ -98,7 +98,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/httproutes-with-multiple-matches.out.yaml b/internal/gatewayapi/testdata/httproutes-with-multiple-matches.out.yaml index ec627ecda95..a21561696f2 100644 --- a/internal/gatewayapi/testdata/httproutes-with-multiple-matches.out.yaml +++ b/internal/gatewayapi/testdata/httproutes-with-multiple-matches.out.yaml @@ -283,7 +283,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/merge-invalid-multiple-gateways.out.yaml b/internal/gatewayapi/testdata/merge-invalid-multiple-gateways.out.yaml index 33ab0632ce2..d8d24642dd3 100644 --- a/internal/gatewayapi/testdata/merge-invalid-multiple-gateways.out.yaml +++ b/internal/gatewayapi/testdata/merge-invalid-multiple-gateways.out.yaml @@ -136,7 +136,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -151,6 +151,6 @@ xdsIR: mergeSlashes: true port: 10080 udp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-2/udp port: 10080 diff --git a/internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-listeners-same-ports.out.yaml b/internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-listeners-same-ports.out.yaml index 27f75da25ec..0e015155214 100644 --- a/internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-listeners-same-ports.out.yaml +++ b/internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-listeners-same-ports.out.yaml @@ -172,7 +172,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -186,7 +186,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - company.com isHTTP2: false @@ -200,7 +200,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8888 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -214,7 +214,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8888 - - address: '::' + - address: 0.0.0.0 hostnames: - example.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-routes.out.yaml b/internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-routes.out.yaml index dba5580e6a7..4c48dd68694 100644 --- a/internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-routes.out.yaml +++ b/internal/gatewayapi/testdata/merge-valid-multiple-gateways-multiple-routes.out.yaml @@ -223,7 +223,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false @@ -258,7 +258,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -272,7 +272,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8888 - - address: '::' + - address: 0.0.0.0 hostnames: - example.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/merge-valid-multiple-gateways.out.yaml b/internal/gatewayapi/testdata/merge-valid-multiple-gateways.out.yaml index b5fb3b7915b..7afe665224b 100644 --- a/internal/gatewayapi/testdata/merge-valid-multiple-gateways.out.yaml +++ b/internal/gatewayapi/testdata/merge-valid-multiple-gateways.out.yaml @@ -145,7 +145,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -159,7 +159,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 10080 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -173,7 +173,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8888 - - address: '::' + - address: 0.0.0.0 hostnames: - example.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/merge-with-isolated-policies-2.out.yaml b/internal/gatewayapi/testdata/merge-with-isolated-policies-2.out.yaml index 1c828fc13bf..b0e8b627fe8 100644 --- a/internal/gatewayapi/testdata/merge-with-isolated-policies-2.out.yaml +++ b/internal/gatewayapi/testdata/merge-with-isolated-policies-2.out.yaml @@ -501,7 +501,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - bar.example.com isHTTP2: false @@ -560,7 +560,7 @@ xdsIR: timeout: http: requestReceivedTimeout: 5s - - address: '::' + - address: 0.0.0.0 hostnames: - foo.example.com isHTTP2: false @@ -619,7 +619,7 @@ xdsIR: timeout: http: requestReceivedTimeout: 5s - - address: '::' + - address: 0.0.0.0 hostnames: - bar.example.com isHTTP2: false @@ -670,7 +670,7 @@ xdsIR: - x-header-7 - x-header-8 maxAge: 33m20s - - address: '::' + - address: 0.0.0.0 hostnames: - foo.example.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/merge-with-isolated-policies.out.yaml b/internal/gatewayapi/testdata/merge-with-isolated-policies.out.yaml index 92ca64456d4..8e62bb597d5 100644 --- a/internal/gatewayapi/testdata/merge-with-isolated-policies.out.yaml +++ b/internal/gatewayapi/testdata/merge-with-isolated-policies.out.yaml @@ -293,7 +293,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -349,7 +349,7 @@ xdsIR: idleTime: 1200 interval: 60 probes: 3 - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-invalid-cross-ns-ref.out.yaml b/internal/gatewayapi/testdata/securitypolicy-invalid-cross-ns-ref.out.yaml index d1f9b18c250..5ce63e62453 100644 --- a/internal/gatewayapi/testdata/securitypolicy-invalid-cross-ns-ref.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-invalid-cross-ns-ref.out.yaml @@ -90,7 +90,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-override-replace.out.yaml b/internal/gatewayapi/testdata/securitypolicy-override-replace.out.yaml index 7b56ed6a0f9..c6f72065531 100644 --- a/internal/gatewayapi/testdata/securitypolicy-override-replace.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-override-replace.out.yaml @@ -300,7 +300,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-status-conditions.out.yaml b/internal/gatewayapi/testdata/securitypolicy-status-conditions.out.yaml index e4898317537..607330a824c 100644 --- a/internal/gatewayapi/testdata/securitypolicy-status-conditions.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-status-conditions.out.yaml @@ -406,7 +406,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -444,7 +444,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -478,6 +478,6 @@ xdsIR: name: grpcroute/envoy-gateway/grpcroute-1/rule/0/match/0/* security: {} tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-2/tcp port: 10053 diff --git a/internal/gatewayapi/testdata/securitypolicy-with-authoriztion-client-cidr.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-authoriztion-client-cidr.out.yaml index 01a3b8426dc..82281af294a 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-authoriztion-client-cidr.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-authoriztion-client-cidr.out.yaml @@ -285,7 +285,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-authoriztion-jwt-claim.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-authoriztion-jwt-claim.out.yaml index 95885020f69..ed422e70031 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-authoriztion-jwt-claim.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-authoriztion-jwt-claim.out.yaml @@ -154,7 +154,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-basic-auth.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-basic-auth.out.yaml index 1a8629c4e44..b690cb20370 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-basic-auth.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-basic-auth.out.yaml @@ -212,7 +212,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-cors-targetrefs.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-cors-targetrefs.out.yaml index 2842832ec14..789da05196b 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-cors-targetrefs.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-cors-targetrefs.out.yaml @@ -339,7 +339,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -394,7 +394,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -431,7 +431,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-cors.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-cors.out.yaml index ad7f13fd7bb..3f58304e886 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-cors.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-cors.out.yaml @@ -402,7 +402,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -460,7 +460,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -519,7 +519,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-backend.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-backend.out.yaml index a2128bd6085..ccdb2458370 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-backend.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-backend.out.yaml @@ -349,7 +349,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-backendref.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-backendref.out.yaml index ded079e5c9c..d72cd182896 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-backendref.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-backendref.out.yaml @@ -222,7 +222,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-matching-port.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-matching-port.out.yaml index d27a3cb2db2..c5bf4237f52 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-matching-port.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-matching-port.out.yaml @@ -136,7 +136,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-port.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-port.out.yaml index 2bab8201c1d..3f5e60f11e8 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-port.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-port.out.yaml @@ -136,7 +136,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-reference-grant.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-reference-grant.out.yaml index c85015431dc..1f8fd280ad6 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-reference-grant.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-reference-grant.out.yaml @@ -137,7 +137,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-service.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-service.out.yaml index fecdfd343c3..294267b90e0 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-service.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-invalid-no-service.out.yaml @@ -136,7 +136,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-recomputation.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-recomputation.out.yaml index 8485328ac78..350fc8e908b 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-recomputation.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-recomputation.out.yaml @@ -205,7 +205,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth-with-backendtlspolicy.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth-with-backendtlspolicy.out.yaml index 4eca64d1a07..b87c7992c90 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth-with-backendtlspolicy.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth-with-backendtlspolicy.out.yaml @@ -281,7 +281,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-extauth.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-extauth.out.yaml index ded079e5c9c..d72cd182896 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-extauth.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-extauth.out.yaml @@ -222,7 +222,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-jwt-and-invalid-oidc.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-jwt-and-invalid-oidc.out.yaml index 37aa96f24a1..d5731870d17 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-jwt-and-invalid-oidc.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-jwt-and-invalid-oidc.out.yaml @@ -234,7 +234,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-jwt-optional.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-jwt-optional.out.yaml index fcbe359dce5..711d30f0d14 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-jwt-optional.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-jwt-optional.out.yaml @@ -281,7 +281,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -338,7 +338,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-jwt-with-custom-extractor.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-jwt-with-custom-extractor.out.yaml index 180b40be7f3..c892bef7e4f 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-jwt-with-custom-extractor.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-jwt-with-custom-extractor.out.yaml @@ -280,7 +280,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -337,7 +337,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-jwt.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-jwt.out.yaml index 54a652f4e27..704961a0476 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-jwt.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-jwt.out.yaml @@ -272,7 +272,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: true @@ -329,7 +329,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-oidc-backendcluster.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-oidc-backendcluster.out.yaml index abc63abdc09..0fc57e6735a 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-oidc-backendcluster.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-oidc-backendcluster.out.yaml @@ -179,7 +179,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-oidc-custom-cookies.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-oidc-custom-cookies.out.yaml index 5fc22a83c59..2482d1bc05b 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-oidc-custom-cookies.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-oidc-custom-cookies.out.yaml @@ -140,7 +140,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-oidc-invalid-issuer.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-oidc-invalid-issuer.out.yaml index 4c64216743a..caf951bcc40 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-oidc-invalid-issuer.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-oidc-invalid-issuer.out.yaml @@ -97,7 +97,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-oidc-invalid-secretref.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-oidc-invalid-secretref.out.yaml index d5025efe61f..319d6bcfe58 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-oidc-invalid-secretref.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-oidc-invalid-secretref.out.yaml @@ -281,7 +281,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -300,7 +300,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -319,7 +319,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/securitypolicy-with-oidc.out.yaml b/internal/gatewayapi/testdata/securitypolicy-with-oidc.out.yaml index f734ebb8e4e..5f327af8752 100644 --- a/internal/gatewayapi/testdata/securitypolicy-with-oidc.out.yaml +++ b/internal/gatewayapi/testdata/securitypolicy-with-oidc.out.yaml @@ -235,7 +235,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false diff --git a/internal/gatewayapi/testdata/tcproute-attaching-to-gateway-with-listener-tls-terminate.out.yaml b/internal/gatewayapi/testdata/tcproute-attaching-to-gateway-with-listener-tls-terminate.out.yaml index dd468f29511..7a4f2288ace 100644 --- a/internal/gatewayapi/testdata/tcproute-attaching-to-gateway-with-listener-tls-terminate.out.yaml +++ b/internal/gatewayapi/testdata/tcproute-attaching-to-gateway-with-listener-tls-terminate.out.yaml @@ -166,7 +166,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tls port: 10090 routes: @@ -193,7 +193,7 @@ xdsIR: - name: envoy-gateway/tls-secret-1 privateKey: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2UUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktjd2dnU2pBZ0VBQW9JQkFRQ2QwZlBDYWtweE1nUnUKT0VXQjFiQk5FM3ZseW55aTZWbkV2VWF1OUhvakR2UHVPTFJIaGI4MmoyY1ovMHhnL1lKR09LelBuV2JERkxGNApHdWh3dDRENmFUR0xYNklPODEwTDZ0SXZIWGZNUXRJS2VwdTZ3K3p1WVo4bG1yejB1RjZlWEtqamVIbHhyb2ZrCnVNekM3OUVaU0lYZlZlczJ1SmdVRSs4VGFzSDUzQ2Y4MFNSRGlIeEdxckttdVNjWCtwejBreGdCZ1VWYTVVS20KUWdTZDFmVUxLOUEwNXAxOXkrdURPM204bVhRNkxVQ0N1STFwZHNROGFlNS9zamlxa0VjWlJjMTdWYVgxWjVVaQpvcGZnNW9SY05VTG9VTHNiek9aNTR0YlVDUmdSV2VLbGZxaElINEZ6OUlkVlUyR3dFdEdhMmV6TjgyMVBaQ3QzCjZhbVRIelJsQWdNQkFBRUNnZ0VBWTFGTUlLNDVXTkVNUHJ6RTZUY3NNdVV2RkdhQVZ4bVk5NW5SMEtwajdvb3IKY21CVys2ZXN0TTQ4S1AwaitPbXd3VFpMY29Cd3VoWGN0V1Bob1lXcDhteWUxRUlEdjNyaHRHMDdocEQ1NGg2dgpCZzh3ejdFYStzMk9sT0N6UnlKNzBSY281YlhjWDNGaGJjdnFlRWJwaFFyQnpOSEtLMjZ4cmZqNWZIT3p6T1FGCmJHdUZ3SDVic3JGdFhlajJXM3c4eW90N0ZQSDV3S3RpdnhvSWU5RjMyOXNnOU9EQnZqWnpiaG1LVTArckFTK1kKRGVield2bFJyaEUrbXVmQTN6M0N0QXhDOFJpNzNscFNoTDRQQWlvcG1SUXlxZXRXMjYzOFFxcnM0R3hnNzhwbApJUXJXTmNBc2s3Slg5d3RZenV6UFBXSXRWTTFscFJiQVRhNTJqdFl2NVFLQmdRRE5tMTFtZTRYam1ZSFV2cStZCmFTUzdwK2UybXZEMHVaOU9JeFluQnBWMGkrckNlYnFFMkE1Rm5hcDQ5Yld4QTgwUElldlVkeUpCL2pUUkoxcVMKRUpXQkpMWm1LVkg2K1QwdWw1ZUtOcWxFTFZHU0dCSXNpeE9SUXpDZHBoMkx0UmtBMHVjSVUzY3hiUmVMZkZCRQpiSkdZWENCdlNGcWd0VDlvZTFldVpMVmFOd0tCZ1FERWdENzJENk81eGIweEQ1NDQ1M0RPMUJhZmd6aThCWDRTCk1SaVd2LzFUQ0w5N05sRWtoeXovNmtQd1owbXJRcE5CMzZFdkpKZFVteHdkU2MyWDhrOGcxMC85NVlLQkdWQWoKL3d0YVZYbE9WeEFvK0ZSelpZeFpyQ29uWWFSMHVwUzFybDRtenN4REhlZU9mUVZUTUgwUjdZN0pnbTA5dXQ4SwplanAvSXZBb1F3S0JnQjNaRWlRUWhvMVYrWjBTMlpiOG5KS0plMy9zMmxJTXFHM0ZkaS9RS3Q0eWViQWx6OGY5ClBZVXBzRmZEQTg5Z3grSU1nSm5sZVptdTk2ZnRXSjZmdmJSenllN216TG5zZU05TXZua1lHbGFGWmJRWnZubXMKN3ZoRmtzY3dHRlh4d21GMlBJZmU1Z3pNMDRBeVdjeTFIaVhLS2dNOXM3cGsxWUdyZGowZzdacmRBb0dCQUtLNApDR3MrbkRmMEZTMFJYOWFEWVJrRTdBNy9YUFhtSG5YMkRnU1h5N0Q4NTRPaWdTTWNoUmtPNTErbVNJejNQbllvCk41T1FXM2lHVVl1M1YvYmhnc0VSUzM1V2xmRk9BdDBzRUR5bjF5SVdXcDF5dG93d3BUNkVvUXVuZ2NYZjA5RjMKS1NROXowd3M4VmsvRWkvSFVXcU5LOWFXbU51cmFaT0ZqL2REK1ZkOUFvR0FMWFN3dEE3K043RDRkN0VEMURSRQpHTWdZNVd3OHFvdDZSdUNlNkpUY0FnU3B1MkhNU3JVY2dXclpiQnJZb09FUnVNQjFoMVJydk5ybU1qQlM0VW9FClgyZC8vbGhpOG1wL2VESWN3UDNRa2puanBJRFJWMFN1eWxrUkVaZURKZjVZb3R6eDdFdkJhbzFIbkQrWEg4eUIKVUtmWGJTaHZKVUdhRmgxT3Q1Y3JoM1k9Ci0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K serverCertificate: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUREVENDQWZXZ0F3SUJBZ0lVRUZNaFA5ZUo5WEFCV3NRNVptNmJSazJjTE5Rd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0ZqRVVNQklHQTFVRUF3d0xabTl2TG1KaGNpNWpiMjB3SGhjTk1qUXdNakk1TURrek1ERXdXaGNOTXpRdwpNakkyTURrek1ERXdXakFXTVJRd0VnWURWUVFEREF0bWIyOHVZbUZ5TG1OdmJUQ0NBU0l3RFFZSktvWklodmNOCkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFKbEk2WXhFOVprQ1BzNnBDUXhickNtZWl4OVA1RGZ4OVJ1NUxENFQKSm1kVzdJS2R0UVYvd2ZMbXRzdTc2QithVGRDaldlMEJUZmVPT1JCYlIzY1BBRzZFbFFMaWNsUVVydW4zcStncwpKcEsrSTdjSStqNXc4STY4WEg1V1E3clZVdGJ3SHBxYncrY1ZuQnFJVU9MaUlhdGpJZjdLWDUxTTF1RjljZkVICkU0RG5jSDZyYnI1OS9SRlpCc2toeHM1T3p3Sklmb2hreXZGd2V1VHd4Sy9WcGpJKzdPYzQ4QUJDWHBOTzlEL3EKRWgrck9hdWpBTWNYZ0hRSVRrQ2lpVVRjVW82TFNIOXZMWlB0YXFmem9acTZuaE1xcFc2NUUxcEF3RjNqeVRUeAphNUk4SmNmU0Zqa2llWjIwTFVRTW43TThVNHhIamFvL2d2SDBDQWZkQjdSTFUyc0NBd0VBQWFOVE1GRXdIUVlEClZSME9CQllFRk9SQ0U4dS8xRERXN2loWnA3Y3g5dFNtUG02T01COEdBMVVkSXdRWU1CYUFGT1JDRTh1LzFERFcKN2loWnA3Y3g5dFNtUG02T01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQgpBRnQ1M3pqc3FUYUg1YThFMmNodm1XQWdDcnhSSzhiVkxNeGl3TkdqYm1FUFJ6K3c2TngrazBBOEtFY0lEc0tjClNYY2k1OHU0b1didFZKQmx6YS9adWpIUjZQMUJuT3BsK2FveTc4NGJiZDRQMzl3VExvWGZNZmJCQ20xdmV2aDkKQUpLbncyWnRxcjRta2JMY3hFcWxxM3NCTEZBUzlzUUxuS05DZTJjR0xkVHAyYm9HK3FjZ3lRZ0NJTTZmOEVNdgpXUGlmQ01NR3V6Sy9HUkY0YlBPL1lGNDhld0R1M1VlaWgwWFhkVUFPRTlDdFVhOE5JaGMxVVBhT3pQcnRZVnFyClpPR2t2L0t1K0I3OGg4U0VzTzlYclFjdXdiT25KeDZLdFIrYWV5a3ZBcFhDUTNmWkMvYllLQUFSK1A4QUpvUVoKYndJVW1YaTRnajVtK2JLUGhlK2lyK0U9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0= - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tls-hostname port: 10090 routes: diff --git a/internal/gatewayapi/testdata/tcproute-with-backend.out.yaml b/internal/gatewayapi/testdata/tcproute-with-backend.out.yaml index 5bf2c388a30..29a124844e5 100644 --- a/internal/gatewayapi/testdata/tcproute-with-backend.out.yaml +++ b/internal/gatewayapi/testdata/tcproute-with-backend.out.yaml @@ -112,7 +112,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tcp port: 10090 routes: diff --git a/internal/gatewayapi/testdata/tlsroute-attaching-to-gateway.out.yaml b/internal/gatewayapi/testdata/tlsroute-attaching-to-gateway.out.yaml index 12021806303..a3dc7519ecd 100644 --- a/internal/gatewayapi/testdata/tlsroute-attaching-to-gateway.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-attaching-to-gateway.out.yaml @@ -94,7 +94,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tls port: 10090 routes: diff --git a/internal/gatewayapi/testdata/tlsroute-multiple.out.yaml b/internal/gatewayapi/testdata/tlsroute-multiple.out.yaml index 802c84636ad..5a065e6d6bb 100644 --- a/internal/gatewayapi/testdata/tlsroute-multiple.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-multiple.out.yaml @@ -128,7 +128,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tls port: 10091 routes: diff --git a/internal/gatewayapi/testdata/tlsroute-with-backend.out.yaml b/internal/gatewayapi/testdata/tlsroute-with-backend.out.yaml index 48e11662a57..97bce6d0acf 100644 --- a/internal/gatewayapi/testdata/tlsroute-with-backend.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-with-backend.out.yaml @@ -114,7 +114,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tls port: 10090 routes: diff --git a/internal/gatewayapi/testdata/tlsroute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml b/internal/gatewayapi/testdata/tlsroute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml index 072357e7937..1f8515c6532 100644 --- a/internal/gatewayapi/testdata/tlsroute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml @@ -95,7 +95,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tls port: 10090 routes: diff --git a/internal/gatewayapi/testdata/tlsroute-with-empty-hostname.out.yaml b/internal/gatewayapi/testdata/tlsroute-with-empty-hostname.out.yaml index dbb35bfecef..09664c0e41c 100644 --- a/internal/gatewayapi/testdata/tlsroute-with-empty-hostname.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-with-empty-hostname.out.yaml @@ -93,7 +93,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tls port: 10091 routes: diff --git a/internal/gatewayapi/testdata/tlsroute-with-empty-listener-hostname.out.yaml b/internal/gatewayapi/testdata/tlsroute-with-empty-listener-hostname.out.yaml index f696db74016..d40d0927396 100644 --- a/internal/gatewayapi/testdata/tlsroute-with-empty-listener-hostname.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-with-empty-listener-hostname.out.yaml @@ -95,7 +95,7 @@ xdsIR: text: - path: /dev/stdout tcp: - - address: '::' + - address: 0.0.0.0 name: envoy-gateway/gateway-1/tls port: 10091 routes: diff --git a/internal/gatewayapi/testdata/tracing-merged-multiple-routes.out.yaml b/internal/gatewayapi/testdata/tracing-merged-multiple-routes.out.yaml index 4ed723d6985..9c0610b4051 100644 --- a/internal/gatewayapi/testdata/tracing-merged-multiple-routes.out.yaml +++ b/internal/gatewayapi/testdata/tracing-merged-multiple-routes.out.yaml @@ -230,7 +230,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false @@ -265,7 +265,7 @@ xdsIR: distinct: false name: "" prefix: / - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -279,7 +279,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8888 - - address: '::' + - address: 0.0.0.0 hostnames: - example.com isHTTP2: false diff --git a/internal/gatewayapi/testdata/tracing-multiple-routes.out.yaml b/internal/gatewayapi/testdata/tracing-multiple-routes.out.yaml index d51b333e647..4bd1415e464 100644 --- a/internal/gatewayapi/testdata/tracing-multiple-routes.out.yaml +++ b/internal/gatewayapi/testdata/tracing-multiple-routes.out.yaml @@ -255,7 +255,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*.envoyproxy.io' isHTTP2: false @@ -311,7 +311,7 @@ xdsIR: text: - path: /dev/stdout http: - - address: '::' + - address: 0.0.0.0 hostnames: - '*' isHTTP2: false @@ -325,7 +325,7 @@ xdsIR: escapedSlashesAction: UnescapeAndRedirect mergeSlashes: true port: 8888 - - address: '::' + - address: 0.0.0.0 hostnames: - example.com isHTTP2: false diff --git a/internal/infrastructure/kubernetes/proxy/resource_provider_test.go b/internal/infrastructure/kubernetes/proxy/resource_provider_test.go index 038fdfbeef5..8868e49c921 100644 --- a/internal/infrastructure/kubernetes/proxy/resource_provider_test.go +++ b/internal/infrastructure/kubernetes/proxy/resource_provider_test.go @@ -54,6 +54,16 @@ func newTestIPv6Infra() *ir.Infra { return i } +func newTestDualStackInfra() *ir.Infra { + i := newTestInfra() + i.Proxy.Config = &egv1a1.EnvoyProxy{ + Spec: egv1a1.EnvoyProxySpec{ + IPFamily: ptr.To(egv1a1.DualStack), + }, + } + return i +} + func newTestInfraWithAnnotations(annotations map[string]string) *ir.Infra { return newTestInfraWithAnnotationsAndLabels(annotations, nil) } @@ -215,6 +225,11 @@ func TestDeployment(t *testing.T) { infra: newTestIPv6Infra(), deploy: nil, }, + { + caseName: "dual-stack", + infra: newTestDualStackInfra(), + deploy: nil, + }, { caseName: "extension-env", infra: newTestInfra(), diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/custom.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/custom.yaml index c852dc415ea..718d3aa11d3 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/custom.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/custom.yaml @@ -72,13 +72,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/default-env.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/default-env.yaml index 296f275c07c..dc6a02a23af 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/default-env.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/default-env.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/default.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/default.yaml index 2c51ce1292d..1042e3691ae 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/default.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/default.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/disable-prometheus.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/disable-prometheus.yaml index 7725589ebe7..53de23a40e7 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/disable-prometheus.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/disable-prometheus.yaml @@ -67,13 +67,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/extension-env.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/extension-env.yaml index 56eb613d6f5..1cb255d1e8c 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/extension-env.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/extension-env.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/override-labels-and-annotations.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/override-labels-and-annotations.yaml index 93d07e3bc0b..9c0b44f568a 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/override-labels-and-annotations.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/override-labels-and-annotations.yaml @@ -80,13 +80,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/patch-daemonset.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/patch-daemonset.yaml index b980860949f..30c2edce7d4 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/patch-daemonset.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/patch-daemonset.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/shutdown-manager.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/shutdown-manager.yaml index d651f5221d7..53d2c1d7763 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/shutdown-manager.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/shutdown-manager.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/volumes.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/volumes.yaml index 8ad18820698..e2c67b1254a 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/volumes.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/volumes.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-annotations.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-annotations.yaml index 4097b66259e..b9f31405726 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-annotations.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-annotations.yaml @@ -76,13 +76,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-extra-args.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-extra-args.yaml index f97876c5538..03789608c7a 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-extra-args.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-extra-args.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-image-pull-secrets.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-image-pull-secrets.yaml index 2e949ca5d67..c265fee4c92 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-image-pull-secrets.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-image-pull-secrets.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-name.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-name.yaml index f4bc88122d1..eec03903eaa 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-name.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-name.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-node-selector.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-node-selector.yaml index 872f240fa0b..00e1566095d 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-node-selector.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-node-selector.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-topology-spread-constraints.yaml b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-topology-spread-constraints.yaml index 85bead98fb8..47b857fee2e 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-topology-spread-constraints.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/daemonsets/with-topology-spread-constraints.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/custom.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/custom.yaml index 7c8acb65e8c..1fb51a63210 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/custom.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/custom.yaml @@ -77,13 +77,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/custom_with_initcontainers.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/custom_with_initcontainers.yaml index 8b15714d9af..9c19cd92fe7 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/custom_with_initcontainers.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/custom_with_initcontainers.yaml @@ -77,13 +77,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/default-env.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/default-env.yaml index 8246a42f2b9..4269619ed73 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/default-env.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/default-env.yaml @@ -76,13 +76,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/default.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/default.yaml index a6a3db2571b..e8a1d04171f 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/default.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/default.yaml @@ -75,13 +75,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/disable-prometheus.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/disable-prometheus.yaml index 077ca5f69e4..4afa880e712 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/disable-prometheus.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/disable-prometheus.yaml @@ -71,13 +71,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/dual-stack.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/dual-stack.yaml new file mode 100644 index 00000000000..a6a3db2571b --- /dev/null +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/dual-stack.yaml @@ -0,0 +1,381 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/component: proxy + app.kubernetes.io/managed-by: envoy-gateway + app.kubernetes.io/name: envoy + gateway.envoyproxy.io/owning-gateway-name: default + gateway.envoyproxy.io/owning-gateway-namespace: default + name: envoy-default-37a8eec1 + namespace: envoy-gateway-system +spec: + progressDeadlineSeconds: 600 + revisionHistoryLimit: 10 + selector: + matchLabels: + app.kubernetes.io/component: proxy + app.kubernetes.io/managed-by: envoy-gateway + app.kubernetes.io/name: envoy + gateway.envoyproxy.io/owning-gateway-name: default + gateway.envoyproxy.io/owning-gateway-namespace: default + strategy: + type: RollingUpdate + template: + metadata: + annotations: + prometheus.io/path: /stats/prometheus + prometheus.io/port: "19001" + prometheus.io/scrape: "true" + creationTimestamp: null + labels: + app.kubernetes.io/component: proxy + app.kubernetes.io/managed-by: envoy-gateway + app.kubernetes.io/name: envoy + gateway.envoyproxy.io/owning-gateway-name: default + gateway.envoyproxy.io/owning-gateway-namespace: default + spec: + automountServiceAccountToken: false + containers: + - args: + - --service-cluster default + - --service-node $(ENVOY_POD_NAME) + - | + --config-yaml admin: + access_log: + - name: envoy.access_loggers.file + typed_config: + "@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog + path: /dev/null + address: + socket_address: + address: 127.0.0.1 + port_value: 19000 + layered_runtime: + layers: + - name: global_config + static_layer: + envoy.restart_features.use_eds_cache_for_ads: true + re2.max_program_size.error_level: 4294967295 + re2.max_program_size.warn_level: 1000 + dynamic_resources: + ads_config: + api_type: DELTA_GRPC + transport_api_version: V3 + grpc_services: + - envoy_grpc: + cluster_name: xds_cluster + set_node_on_first_message_only: true + lds_config: + ads: {} + resource_api_version: V3 + cds_config: + ads: {} + resource_api_version: V3 + static_resources: + listeners: + - name: envoy-gateway-proxy-ready-::-19001 + address: + socket_address: + address: '::' + port_value: 19001 + protocol: TCP + ipv4_compat: true + filter_chains: + - filters: + - name: envoy.filters.network.http_connection_manager + typed_config: + "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager + stat_prefix: eg-ready-http + route_config: + name: local_route + virtual_hosts: + - name: prometheus_stats + domains: + - "*" + routes: + - match: + prefix: /stats/prometheus + route: + cluster: prometheus_stats + http_filters: + - name: envoy.filters.http.health_check + typed_config: + "@type": type.googleapis.com/envoy.extensions.filters.http.health_check.v3.HealthCheck + pass_through_mode: false + headers: + - name: ":path" + string_match: + exact: /ready + - name: envoy.filters.http.router + typed_config: + "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router + clusters: + - name: prometheus_stats + connect_timeout: 0.250s + type: STATIC + lb_policy: ROUND_ROBIN + load_assignment: + cluster_name: prometheus_stats + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: 127.0.0.1 + port_value: 19000 + - connect_timeout: 10s + load_assignment: + cluster_name: xds_cluster + endpoints: + - load_balancing_weight: 1 + lb_endpoints: + - load_balancing_weight: 1 + endpoint: + address: + socket_address: + address: envoy-gateway + port_value: 18000 + typed_extension_protocol_options: + envoy.extensions.upstreams.http.v3.HttpProtocolOptions: + "@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions" + explicit_http_config: + http2_protocol_options: + connection_keepalive: + interval: 30s + timeout: 5s + name: xds_cluster + type: STRICT_DNS + transport_socket: + name: envoy.transport_sockets.tls + typed_config: + "@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext + common_tls_context: + tls_params: + tls_maximum_protocol_version: TLSv1_3 + tls_certificate_sds_secret_configs: + - name: xds_certificate + sds_config: + path_config_source: + path: /sds/xds-certificate.json + resource_api_version: V3 + validation_context_sds_secret_config: + name: xds_trusted_ca + sds_config: + path_config_source: + path: /sds/xds-trusted-ca.json + resource_api_version: V3 + - name: wasm_cluster + type: STRICT_DNS + connect_timeout: 10s + load_assignment: + cluster_name: wasm_cluster + endpoints: + - load_balancing_weight: 1 + lb_endpoints: + - load_balancing_weight: 1 + endpoint: + address: + socket_address: + address: envoy-gateway + port_value: 18002 + typed_extension_protocol_options: + envoy.extensions.upstreams.http.v3.HttpProtocolOptions: + "@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions" + explicit_http_config: + http2_protocol_options: {} + transport_socket: + name: envoy.transport_sockets.tls + typed_config: + "@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext + common_tls_context: + tls_params: + tls_maximum_protocol_version: TLSv1_3 + tls_certificate_sds_secret_configs: + - name: xds_certificate + sds_config: + path_config_source: + path: /sds/xds-certificate.json + resource_api_version: V3 + validation_context_sds_secret_config: + name: xds_trusted_ca + sds_config: + path_config_source: + path: /sds/xds-trusted-ca.json + resource_api_version: V3 + overload_manager: + refresh_interval: 0.25s + resource_monitors: + - name: "envoy.resource_monitors.global_downstream_max_connections" + typed_config: + "@type": type.googleapis.com/envoy.extensions.resource_monitors.downstream_connections.v3.DownstreamConnectionsConfig + max_active_downstream_connections: 50000 + - --log-level warn + - --cpuset-threads + - --drain-strategy immediate + - --drain-time-s 60 + command: + - envoy + env: + - name: ENVOY_GATEWAY_NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + - name: ENVOY_POD_NAME + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.name + image: envoyproxy/envoy:distroless-v1.32.1 + imagePullPolicy: IfNotPresent + lifecycle: + preStop: + httpGet: + path: /shutdown/ready + port: 19002 + scheme: HTTP + name: envoy + ports: + - containerPort: 8080 + name: EnvoyHTTPPort + protocol: TCP + - containerPort: 8443 + name: EnvoyHTTPSPort + protocol: TCP + - containerPort: 19001 + name: metrics + protocol: TCP + readinessProbe: + failureThreshold: 1 + httpGet: + path: /ready + port: 19001 + scheme: HTTP + periodSeconds: 5 + successThreshold: 1 + timeoutSeconds: 1 + resources: + requests: + cpu: 100m + memory: 512Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + privileged: false + runAsGroup: 65532 + runAsNonRoot: true + runAsUser: 65532 + seccompProfile: + type: RuntimeDefault + startupProbe: + failureThreshold: 30 + httpGet: + path: /ready + port: 19001 + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /certs + name: certs + readOnly: true + - mountPath: /sds + name: sds + - args: + - envoy + - shutdown-manager + command: + - envoy-gateway + env: + - name: ENVOY_GATEWAY_NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + - name: ENVOY_POD_NAME + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.name + image: docker.io/envoyproxy/gateway-dev:latest + imagePullPolicy: IfNotPresent + lifecycle: + preStop: + exec: + command: + - envoy-gateway + - envoy + - shutdown + livenessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 19002 + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + name: shutdown-manager + readinessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 19002 + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: + requests: + cpu: 10m + memory: 32Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + privileged: false + runAsGroup: 65532 + runAsNonRoot: true + runAsUser: 65532 + seccompProfile: + type: RuntimeDefault + startupProbe: + failureThreshold: 30 + httpGet: + path: /healthz + port: 19002 + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + serviceAccountName: envoy-default-37a8eec1 + terminationGracePeriodSeconds: 360 + volumes: + - name: certs + secret: + defaultMode: 420 + secretName: envoy + - configMap: + defaultMode: 420 + items: + - key: xds-trusted-ca.json + path: xds-trusted-ca.json + - key: xds-certificate.json + path: xds-certificate.json + name: envoy-default-37a8eec1 + optional: false + name: sds +status: {} diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/extension-env.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/extension-env.yaml index 9916507085e..447449a5c91 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/extension-env.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/extension-env.yaml @@ -76,13 +76,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/ipv6.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/ipv6.yaml index da324336017..6a980c8ea9b 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/ipv6.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/ipv6.yaml @@ -81,7 +81,6 @@ spec: address: '::' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager @@ -135,7 +134,7 @@ spec: endpoint: address: socket_address: - address: envoy-gateway.envoy-gateway-system.svc.cluster.local + address: envoy-gateway port_value: 18000 typed_extension_protocol_options: envoy.extensions.upstreams.http.v3.HttpProtocolOptions: @@ -228,7 +227,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.name - image: docker.io/envoyproxy/envoy:distroless-dev + image: envoyproxy/envoy:distroless-v1.32.1 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -238,6 +237,12 @@ spec: scheme: HTTP name: envoy ports: + - containerPort: 8080 + name: EnvoyHTTPPort + protocol: TCP + - containerPort: 8443 + name: EnvoyHTTPSPort + protocol: TCP - containerPort: 19001 name: metrics protocol: TCP diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/override-labels-and-annotations.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/override-labels-and-annotations.yaml index c6fb7c86cb7..5c1ed17334b 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/override-labels-and-annotations.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/override-labels-and-annotations.yaml @@ -84,13 +84,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/patch-deployment.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/patch-deployment.yaml index 9ccc64bd61f..79897335096 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/patch-deployment.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/patch-deployment.yaml @@ -75,13 +75,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/shutdown-manager.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/shutdown-manager.yaml index efd25b87b16..dda013fcad0 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/shutdown-manager.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/shutdown-manager.yaml @@ -75,13 +75,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/volumes.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/volumes.yaml index 2a43c9d8f91..66e401be427 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/volumes.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/volumes.yaml @@ -76,13 +76,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-annotations.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-annotations.yaml index b17e5a36c92..b0cce1ee3d7 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-annotations.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-annotations.yaml @@ -80,13 +80,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-empty-memory-limits.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-empty-memory-limits.yaml index 7a25a9b8d06..dd21383dd6e 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-empty-memory-limits.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-empty-memory-limits.yaml @@ -75,13 +75,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-extra-args.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-extra-args.yaml index 4992ee976e2..e6c35a63504 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-extra-args.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-extra-args.yaml @@ -75,13 +75,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-image-pull-secrets.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-image-pull-secrets.yaml index 772cbc7dbd0..ee25f186dd8 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-image-pull-secrets.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-image-pull-secrets.yaml @@ -75,13 +75,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-name.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-name.yaml index a41c6f9a42d..34a2f080997 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-name.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-name.yaml @@ -75,13 +75,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-node-selector.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-node-selector.yaml index 3158f01d49c..8da4e518669 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-node-selector.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-node-selector.yaml @@ -75,13 +75,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-topology-spread-constraints.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-topology-spread-constraints.yaml index 2d4608d50a4..e7267532ab2 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-topology-spread-constraints.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-topology-spread-constraints.yaml @@ -75,13 +75,12 @@ spec: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/ir/xds.go b/internal/ir/xds.go index 5e26af0f479..5248726491a 100644 --- a/internal/ir/xds.go +++ b/internal/ir/xds.go @@ -226,7 +226,7 @@ type CoreListenerDetails struct { // Metadata is used to enrich envoy resource metadata with user and provider-specific information Metadata *ResourceMetadata `json:"metadata,omitempty" yaml:"metadata,omitempty"` // IPFamily specifies the IP address family for the gateway. - // It can be IPv4, IPv6, or Dual. + // It can be IPv4, IPv6, or DualStack. IPFamily *IPFamily `json:"ipFamily,omitempty" yaml:"ipFamily,omitempty"` } @@ -236,7 +236,7 @@ type IPFamily string const ( IPv4 IPFamily = "IPv4" IPv6 IPFamily = "IPv6" - Dualstack IPFamily = "DualStack" + DualStack IPFamily = "DualStack" ) func (l CoreListenerDetails) GetName() string { diff --git a/internal/utils/net/ip.go b/internal/utils/net/ip.go index 4c496936801..042a655417e 100644 --- a/internal/utils/net/ip.go +++ b/internal/utils/net/ip.go @@ -6,5 +6,6 @@ package net const ( + IPv4ListenerAddress = "0.0.0.0" IPv6ListenerAddress = "::" ) diff --git a/internal/xds/bootstrap/bootstrap.go b/internal/xds/bootstrap/bootstrap.go index 45847d4a6bf..0b043bd163b 100644 --- a/internal/xds/bootstrap/bootstrap.go +++ b/internal/xds/bootstrap/bootstrap.go @@ -42,9 +42,11 @@ const ( // DefaultWasmServerPort is the default listening port of the wasm HTTP server. wasmServerPort = 18002 - envoyReadinessAddress = "::" - EnvoyReadinessPort = 19001 - EnvoyReadinessPath = "/ready" + envoyReadinessAddressv4 = "0.0.0.0" + envoyReadinessAddressv6 = "::" + + EnvoyReadinessPort = 19001 + EnvoyReadinessPath = "/ready" defaultSdsTrustedCAPath = "/sds/xds-trusted-ca.json" defaultSdsCertificatePath = "/sds/xds-certificate.json" @@ -95,6 +97,9 @@ type bootstrapParameters struct { StatsMatcher *StatsMatcherParameters // OverloadManager defines the configuration of the Envoy overload manager. OverloadManager overloadManagerParameters + + // IPFamily of the Listener + IPFamily string } type serverParameters struct { @@ -258,7 +263,7 @@ func GetRenderedBootstrapConfig(opts *RenderBootstrapConfigOptions) (string, err AccessLogPath: envoyAdminAccessLogPath, }, ReadyServer: readyServerParameters{ - Address: envoyReadinessAddress, + Address: envoyReadinessAddressv4, Port: EnvoyReadinessPort, ReadinessPath: EnvoyReadinessPath, }, @@ -303,8 +308,14 @@ func GetRenderedBootstrapConfig(opts *RenderBootstrapConfigOptions) (string, err cfg.parameters.WasmServer.Port = *opts.WasmServerPort } - if opts.IPFamily != nil && *opts.IPFamily == egv1a1.IPv6 { - cfg.parameters.AdminServer.Address = EnvoyAdminAddressV6 + if opts.IPFamily != nil { + cfg.parameters.IPFamily = string(*opts.IPFamily) + if *opts.IPFamily == egv1a1.IPv6 { + cfg.parameters.AdminServer.Address = EnvoyAdminAddressV6 + cfg.parameters.ReadyServer.Address = envoyReadinessAddressv6 + } else if *opts.IPFamily == egv1a1.DualStack { + cfg.parameters.ReadyServer.Address = envoyReadinessAddressv6 + } } cfg.parameters.OverloadManager.MaxHeapSizeBytes = opts.MaxHeapSizeBytes diff --git a/internal/xds/bootstrap/bootstrap.yaml.tpl b/internal/xds/bootstrap/bootstrap.yaml.tpl index 9e7fd739871..e10ab4d83f0 100644 --- a/internal/xds/bootstrap/bootstrap.yaml.tpl +++ b/internal/xds/bootstrap/bootstrap.yaml.tpl @@ -68,7 +68,9 @@ static_resources: address: '{{ .ReadyServer.Address }}' port_value: {{ .ReadyServer.Port }} protocol: TCP + {{- if eq .IPFamily "DualStack"}} ipv4_compat: true + {{- end }} filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/xds/bootstrap/testdata/merge/default.out.yaml b/internal/xds/bootstrap/testdata/merge/default.out.yaml index b70801eebc7..e0a187fd8bc 100644 --- a/internal/xds/bootstrap/testdata/merge/default.out.yaml +++ b/internal/xds/bootstrap/testdata/merge/default.out.yaml @@ -138,8 +138,7 @@ staticResources: listeners: - address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 19001 filterChains: - filters: @@ -170,4 +169,4 @@ staticResources: route: cluster: prometheus_stats statPrefix: eg-ready-http - name: envoy-gateway-proxy-ready-::-19001 + name: envoy-gateway-proxy-ready-0.0.0.0-19001 diff --git a/internal/xds/bootstrap/testdata/merge/merge-user-bootstrap.out.yaml b/internal/xds/bootstrap/testdata/merge/merge-user-bootstrap.out.yaml index 0438c5a675e..7fcb292368a 100644 --- a/internal/xds/bootstrap/testdata/merge/merge-user-bootstrap.out.yaml +++ b/internal/xds/bootstrap/testdata/merge/merge-user-bootstrap.out.yaml @@ -144,8 +144,7 @@ staticResources: listeners: - address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 19001 filterChains: - filters: @@ -176,4 +175,4 @@ staticResources: route: cluster: prometheus_stats statPrefix: eg-ready-http - name: envoy-gateway-proxy-ready-::-19001 + name: envoy-gateway-proxy-ready-0.0.0.0-19001 diff --git a/internal/xds/bootstrap/testdata/merge/patch-global-config.out.yaml b/internal/xds/bootstrap/testdata/merge/patch-global-config.out.yaml index 5844b3ea114..63915cc277a 100644 --- a/internal/xds/bootstrap/testdata/merge/patch-global-config.out.yaml +++ b/internal/xds/bootstrap/testdata/merge/patch-global-config.out.yaml @@ -134,8 +134,7 @@ static_resources: listeners: - address: socket_address: - address: '::' - ipv4_compat: true + address: 0.0.0.0 port_value: 19001 protocol: TCP filter_chains: @@ -167,4 +166,4 @@ static_resources: route: cluster: prometheus_stats stat_prefix: eg-ready-http - name: envoy-gateway-proxy-ready-::-19001 + name: envoy-gateway-proxy-ready-0.0.0.0-19001 diff --git a/internal/xds/bootstrap/testdata/merge/stats_sinks.out.yaml b/internal/xds/bootstrap/testdata/merge/stats_sinks.out.yaml index 5920dcb0b07..40d2392a98d 100644 --- a/internal/xds/bootstrap/testdata/merge/stats_sinks.out.yaml +++ b/internal/xds/bootstrap/testdata/merge/stats_sinks.out.yaml @@ -155,8 +155,7 @@ staticResources: listeners: - address: socketAddress: - address: '::' - ipv4Compat: true + address: 0.0.0.0 portValue: 19001 filterChains: - filters: @@ -187,7 +186,7 @@ staticResources: route: cluster: prometheus_stats statPrefix: eg-ready-http - name: envoy-gateway-proxy-ready-::-19001 + name: envoy-gateway-proxy-ready-0.0.0.0-19001 statsSinks: - name: envoy.stat_sinks.metrics_service typedConfig: diff --git a/internal/xds/bootstrap/testdata/render/custom-server-port.yaml b/internal/xds/bootstrap/testdata/render/custom-server-port.yaml index 9346a397bfb..cc3b56b399c 100644 --- a/internal/xds/bootstrap/testdata/render/custom-server-port.yaml +++ b/internal/xds/bootstrap/testdata/render/custom-server-port.yaml @@ -31,13 +31,12 @@ dynamic_resources: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-3333 + - name: envoy-gateway-proxy-ready-0.0.0.0-3333 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 3333 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/xds/bootstrap/testdata/render/custom-stats-matcher.yaml b/internal/xds/bootstrap/testdata/render/custom-stats-matcher.yaml index 8ce0164d9fa..27258e741ea 100644 --- a/internal/xds/bootstrap/testdata/render/custom-stats-matcher.yaml +++ b/internal/xds/bootstrap/testdata/render/custom-stats-matcher.yaml @@ -42,13 +42,12 @@ dynamic_resources: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/xds/bootstrap/testdata/render/disable-prometheus.yaml b/internal/xds/bootstrap/testdata/render/disable-prometheus.yaml index f901046d629..1e3ba1994dd 100644 --- a/internal/xds/bootstrap/testdata/render/disable-prometheus.yaml +++ b/internal/xds/bootstrap/testdata/render/disable-prometheus.yaml @@ -31,13 +31,12 @@ dynamic_resources: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/xds/bootstrap/testdata/render/enable-prometheus-gzip-compression.yaml b/internal/xds/bootstrap/testdata/render/enable-prometheus-gzip-compression.yaml index 99b9af18513..20eedcb3be8 100644 --- a/internal/xds/bootstrap/testdata/render/enable-prometheus-gzip-compression.yaml +++ b/internal/xds/bootstrap/testdata/render/enable-prometheus-gzip-compression.yaml @@ -31,13 +31,12 @@ dynamic_resources: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/xds/bootstrap/testdata/render/enable-prometheus.yaml b/internal/xds/bootstrap/testdata/render/enable-prometheus.yaml index 0b56c4508a5..162569bcaf9 100644 --- a/internal/xds/bootstrap/testdata/render/enable-prometheus.yaml +++ b/internal/xds/bootstrap/testdata/render/enable-prometheus.yaml @@ -31,13 +31,12 @@ dynamic_resources: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/xds/bootstrap/testdata/render/ipv6.yaml b/internal/xds/bootstrap/testdata/render/ipv6.yaml index ab63a3e7439..63395e20f7a 100644 --- a/internal/xds/bootstrap/testdata/render/ipv6.yaml +++ b/internal/xds/bootstrap/testdata/render/ipv6.yaml @@ -37,7 +37,6 @@ static_resources: address: '::' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/xds/bootstrap/testdata/render/otel-metrics-backendref.yaml b/internal/xds/bootstrap/testdata/render/otel-metrics-backendref.yaml index 2d375423456..27521b3c3fa 100644 --- a/internal/xds/bootstrap/testdata/render/otel-metrics-backendref.yaml +++ b/internal/xds/bootstrap/testdata/render/otel-metrics-backendref.yaml @@ -38,13 +38,12 @@ stats_sinks: cluster_name: otel_metric_sink_0 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/xds/bootstrap/testdata/render/otel-metrics.yaml b/internal/xds/bootstrap/testdata/render/otel-metrics.yaml index 2d375423456..27521b3c3fa 100644 --- a/internal/xds/bootstrap/testdata/render/otel-metrics.yaml +++ b/internal/xds/bootstrap/testdata/render/otel-metrics.yaml @@ -38,13 +38,12 @@ stats_sinks: cluster_name: otel_metric_sink_0 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/xds/bootstrap/testdata/render/with-max-heap-size-bytes.yaml b/internal/xds/bootstrap/testdata/render/with-max-heap-size-bytes.yaml index 9680192c5e5..a50a221b48f 100644 --- a/internal/xds/bootstrap/testdata/render/with-max-heap-size-bytes.yaml +++ b/internal/xds/bootstrap/testdata/render/with-max-heap-size-bytes.yaml @@ -31,13 +31,12 @@ dynamic_resources: resource_api_version: V3 static_resources: listeners: - - name: envoy-gateway-proxy-ready-::-19001 + - name: envoy-gateway-proxy-ready-0.0.0.0-19001 address: socket_address: - address: '::' + address: '0.0.0.0' port_value: 19001 protocol: TCP - ipv4_compat: true filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/internal/xds/translator/listener.go b/internal/xds/translator/listener.go index 098cc896145..1568ed3e570 100644 --- a/internal/xds/translator/listener.go +++ b/internal/xds/translator/listener.go @@ -151,6 +151,7 @@ func originalIPDetectionExtensions(clientIPDetection *ir.ClientIPDetectionSettin func buildXdsTCPListener( name, address string, port uint32, + ipFamily *ir.IPFamily, keepalive *ir.TCPKeepalive, connection *ir.ClientConnection, accesslog *ir.AccessLog, @@ -174,12 +175,16 @@ func buildXdsTCPListener( PortSpecifier: &corev3.SocketAddress_PortValue{ PortValue: port, }, - Ipv4Compat: true, }, }, }, } + if ipFamily != nil && *ipFamily == ir.DualStack { + socketAddress := listener.Address.GetSocketAddress() + socketAddress.Ipv4Compat = true + } + return listener, nil } @@ -191,7 +196,7 @@ func buildPerConnectionBufferLimitBytes(connection *ir.ClientConnection) *wrappe } // buildXdsQuicListener creates a xds Listener resource for quic -func buildXdsQuicListener(name, address string, port uint32, accesslog *ir.AccessLog) (*listenerv3.Listener, error) { +func buildXdsQuicListener(name, address string, port uint32, ipFamily *ir.IPFamily, accesslog *ir.AccessLog) (*listenerv3.Listener, error) { log, err := buildXdsAccessLog(accesslog, ir.ProxyAccessLogTypeListener) if err != nil { return nil, err @@ -207,7 +212,6 @@ func buildXdsQuicListener(name, address string, port uint32, accesslog *ir.Acces PortSpecifier: &corev3.SocketAddress_PortValue{ PortValue: port, }, - Ipv4Compat: true, }, }, }, @@ -220,6 +224,11 @@ func buildXdsQuicListener(name, address string, port uint32, accesslog *ir.Acces DrainType: listenerv3.Listener_MODIFY_ONLY, } + if ipFamily != nil && *ipFamily == ir.DualStack { + socketAddress := xdsListener.Address.GetSocketAddress() + socketAddress.Ipv4Compat = true + } + return xdsListener, nil } @@ -849,7 +858,6 @@ func buildXdsUDPListener(clusterName string, udpListener *ir.UDPListener, access PortSpecifier: &corev3.SocketAddress_PortValue{ PortValue: udpListener.Port, }, - Ipv4Compat: true, }, }, }, @@ -861,6 +869,11 @@ func buildXdsUDPListener(clusterName string, udpListener *ir.UDPListener, access }}, } + if udpListener.IPFamily != nil && *udpListener.IPFamily == ir.DualStack { + socketAddress := xdsListener.Address.GetSocketAddress() + socketAddress.Ipv4Compat = true + } + return xdsListener, nil } diff --git a/internal/xds/translator/testdata/out/extension-xds-ir/extensionpolicy-tcp-udp-http.listeners.yaml b/internal/xds/translator/testdata/out/extension-xds-ir/extensionpolicy-tcp-udp-http.listeners.yaml index 026cd70e650..6fbaf5053ec 100644 --- a/internal/xds/translator/testdata/out/extension-xds-ir/extensionpolicy-tcp-udp-http.listeners.yaml +++ b/internal/xds/translator/testdata/out/extension-xds-ir/extensionpolicy-tcp-udp-http.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: @@ -44,7 +43,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10162 protocol: UDP listenerFilters: diff --git a/internal/xds/translator/testdata/out/extension-xds-ir/http-route-extension-filter.listeners.yaml b/internal/xds/translator/testdata/out/extension-xds-ir/http-route-extension-filter.listeners.yaml index 507aaab00f5..e6777ebece3 100644 --- a/internal/xds/translator/testdata/out/extension-xds-ir/http-route-extension-filter.listeners.yaml +++ b/internal/xds/translator/testdata/out/extension-xds-ir/http-route-extension-filter.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/extension-xds-ir/http-route.listeners.yaml b/internal/xds/translator/testdata/out/extension-xds-ir/http-route.listeners.yaml index 9c25f196445..c3fb113017a 100644 --- a/internal/xds/translator/testdata/out/extension-xds-ir/http-route.listeners.yaml +++ b/internal/xds/translator/testdata/out/extension-xds-ir/http-route.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/extension-xds-ir/listener-policy.listeners.yaml b/internal/xds/translator/testdata/out/extension-xds-ir/listener-policy.listeners.yaml index 5b2e1a6719a..7837e1509fc 100644 --- a/internal/xds/translator/testdata/out/extension-xds-ir/listener-policy.listeners.yaml +++ b/internal/xds/translator/testdata/out/extension-xds-ir/listener-policy.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10081 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/accesslog-cel.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/accesslog-cel.listeners.yaml index 1bb613cbfcd..82af12d1330 100644 --- a/internal/xds/translator/testdata/out/xds-ir/accesslog-cel.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/accesslog-cel.listeners.yaml @@ -83,7 +83,6 @@ address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/accesslog-endpoint-stats.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/accesslog-endpoint-stats.listeners.yaml index 78d5f7abe9f..ac530c829eb 100644 --- a/internal/xds/translator/testdata/out/xds-ir/accesslog-endpoint-stats.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/accesslog-endpoint-stats.listeners.yaml @@ -62,7 +62,6 @@ address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/accesslog-formatters.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/accesslog-formatters.listeners.yaml index 2532b596f44..6efcf6de185 100644 --- a/internal/xds/translator/testdata/out/xds-ir/accesslog-formatters.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/accesslog-formatters.listeners.yaml @@ -106,7 +106,6 @@ address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/accesslog-multi-cel.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/accesslog-multi-cel.listeners.yaml index 713a4137c31..f1efd677973 100644 --- a/internal/xds/translator/testdata/out/xds-ir/accesslog-multi-cel.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/accesslog-multi-cel.listeners.yaml @@ -98,7 +98,6 @@ address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/accesslog-types.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/accesslog-types.listeners.yaml index 8bdbfafa21e..dbb30726378 100644 --- a/internal/xds/translator/testdata/out/xds-ir/accesslog-types.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/accesslog-types.listeners.yaml @@ -142,7 +142,6 @@ address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/accesslog-without-format.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/accesslog-without-format.listeners.yaml index 27da99342c3..541d20c663d 100644 --- a/internal/xds/translator/testdata/out/xds-ir/accesslog-without-format.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/accesslog-without-format.listeners.yaml @@ -81,7 +81,6 @@ address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/accesslog.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/accesslog.listeners.yaml index c43406cbaea..71f4affea97 100644 --- a/internal/xds/translator/testdata/out/xds-ir/accesslog.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/accesslog.listeners.yaml @@ -81,7 +81,6 @@ address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/authorization-client-cidr.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/authorization-client-cidr.listeners.yaml index 1a6a6c94ebf..907d28f78b7 100644 --- a/internal/xds/translator/testdata/out/xds-ir/authorization-client-cidr.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/authorization-client-cidr.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/authorization-jwt-claim.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/authorization-jwt-claim.listeners.yaml index 8c489a928e8..2bfa9b51303 100644 --- a/internal/xds/translator/testdata/out/xds-ir/authorization-jwt-claim.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/authorization-jwt-claim.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/authorization-jwt-scope.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/authorization-jwt-scope.listeners.yaml index 8c489a928e8..2bfa9b51303 100644 --- a/internal/xds/translator/testdata/out/xds-ir/authorization-jwt-scope.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/authorization-jwt-scope.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/authorization-multiple-principals.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/authorization-multiple-principals.listeners.yaml index 1a6a6c94ebf..907d28f78b7 100644 --- a/internal/xds/translator/testdata/out/xds-ir/authorization-multiple-principals.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/authorization-multiple-principals.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/backend-buffer-limit.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/backend-buffer-limit.listeners.yaml index 39d16f0162e..688cef1f74b 100644 --- a/internal/xds/translator/testdata/out/xds-ir/backend-buffer-limit.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/backend-buffer-limit.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: @@ -36,7 +35,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 filterChains: - filters: @@ -51,7 +49,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 protocol: UDP listenerFilters: diff --git a/internal/xds/translator/testdata/out/xds-ir/backend-priority.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/backend-priority.listeners.yaml index fec7e1ade2f..55e2fde715b 100644 --- a/internal/xds/translator/testdata/out/xds-ir/backend-priority.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/backend-priority.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/basic-auth.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/basic-auth.listeners.yaml index 3f5b5976eb0..a7accc0ef6c 100644 --- a/internal/xds/translator/testdata/out/xds-ir/basic-auth.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/basic-auth.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/circuit-breaker.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/circuit-breaker.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/circuit-breaker.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/circuit-breaker.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/client-buffer-limit.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/client-buffer-limit.listeners.yaml index 91c886e41b1..9ae223623db 100644 --- a/internal/xds/translator/testdata/out/xds-ir/client-buffer-limit.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/client-buffer-limit.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: @@ -36,7 +35,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/client-ip-detection.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/client-ip-detection.listeners.yaml index 76e8d8b7cf5..4515aa70761 100644 --- a/internal/xds/translator/testdata/out/xds-ir/client-ip-detection.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/client-ip-detection.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 8081 defaultFilterChain: filters: @@ -35,7 +34,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 8082 defaultFilterChain: filters: @@ -74,7 +72,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 8083 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/client-timeout.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/client-timeout.listeners.yaml index 0becefcb07b..59b7902b54a 100644 --- a/internal/xds/translator/testdata/out/xds-ir/client-timeout.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/client-timeout.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: @@ -38,7 +37,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/cors.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/cors.listeners.yaml index d4b97c1941b..e43d6e27f7a 100644 --- a/internal/xds/translator/testdata/out/xds-ir/cors.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/cors.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/custom-filter-order.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/custom-filter-order.listeners.yaml index 0f5111a8afa..9758fe7f17c 100644 --- a/internal/xds/translator/testdata/out/xds-ir/custom-filter-order.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/custom-filter-order.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/custom-response.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/custom-response.listeners.yaml index 29be8f0b25c..19c56586960 100644 --- a/internal/xds/translator/testdata/out/xds-ir/custom-response.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/custom-response.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ext-auth-backend.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ext-auth-backend.listeners.yaml index 4f7cd0b8af7..0ccea8c2bcb 100644 --- a/internal/xds/translator/testdata/out/xds-ir/ext-auth-backend.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ext-auth-backend.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ext-auth-recomputation.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ext-auth-recomputation.listeners.yaml index 71ebe76cb1e..e2054562760 100644 --- a/internal/xds/translator/testdata/out/xds-ir/ext-auth-recomputation.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ext-auth-recomputation.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ext-auth.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ext-auth.listeners.yaml index 167e96f53e0..84b95081c80 100644 --- a/internal/xds/translator/testdata/out/xds-ir/ext-auth.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ext-auth.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ext-proc-with-traffic-settings.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ext-proc-with-traffic-settings.listeners.yaml index fec7e1ade2f..55e2fde715b 100644 --- a/internal/xds/translator/testdata/out/xds-ir/ext-proc-with-traffic-settings.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ext-proc-with-traffic-settings.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ext-proc.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ext-proc.listeners.yaml index 1f010cbb726..acf4c0a40f6 100755 --- a/internal/xds/translator/testdata/out/xds-ir/ext-proc.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ext-proc.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/fault-injection.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/fault-injection.listeners.yaml index 6c1a233f5b2..72f0a0a1239 100644 --- a/internal/xds/translator/testdata/out/xds-ir/fault-injection.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/fault-injection.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/headers-with-preserve-x-request-id.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/headers-with-preserve-x-request-id.listeners.yaml index f9ce7d84e7c..de527446ae0 100644 --- a/internal/xds/translator/testdata/out/xds-ir/headers-with-preserve-x-request-id.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/headers-with-preserve-x-request-id.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 8081 defaultFilterChain: filters: @@ -35,7 +34,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 8082 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/headers-with-underscores-action.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/headers-with-underscores-action.listeners.yaml index f89d388819d..d0509c239cf 100644 --- a/internal/xds/translator/testdata/out/xds-ir/headers-with-underscores-action.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/headers-with-underscores-action.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 8081 defaultFilterChain: filters: @@ -34,7 +33,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 8082 defaultFilterChain: filters: @@ -66,7 +64,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 8083 defaultFilterChain: filters: @@ -99,7 +96,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 8084 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/health-check.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/health-check.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/health-check.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/health-check.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-early-header-mutation.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-early-header-mutation.listeners.yaml index 93320e1347b..73dcc99a8b9 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-early-header-mutation.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-early-header-mutation.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: @@ -42,7 +41,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-endpoint-stats.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-endpoint-stats.listeners.yaml index 6c2ec38ab4f..8b810de954d 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-endpoint-stats.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-endpoint-stats.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-health-check.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-health-check.listeners.yaml index 858a6a99df5..1548f88fd66 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-health-check.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-health-check.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-preserve-client-protocol.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-preserve-client-protocol.listeners.yaml index cc24216073a..09426a31773 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-preserve-client-protocol.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-preserve-client-protocol.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-req-resp-sizes-stats.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-req-resp-sizes-stats.listeners.yaml index cefa3f8fcfd..ac62b3d7a0b 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-req-resp-sizes-stats.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-req-resp-sizes-stats.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-direct-response.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-direct-response.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-direct-response.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-direct-response.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-dns-cluster.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-dns-cluster.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-dns-cluster.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-dns-cluster.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-mirror.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-mirror.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-mirror.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-mirror.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-multiple-matches.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-multiple-matches.listeners.yaml index 9c25f196445..c3fb113017a 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-multiple-matches.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-multiple-matches.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-multiple-mirrors.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-multiple-mirrors.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-multiple-mirrors.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-multiple-mirrors.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-partial-invalid.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-partial-invalid.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-partial-invalid.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-partial-invalid.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-redirect.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-redirect.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-redirect.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-redirect.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-regex.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-regex.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-regex.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-regex.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-request-headers.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-request-headers.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-request-headers.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-request-headers.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-response-add-headers.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-response-add-headers.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-response-add-headers.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-response-add-headers.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-response-add-remove-headers.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-response-add-remove-headers.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-response-add-remove-headers.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-response-add-remove-headers.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-response-remove-headers.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-response-remove-headers.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-response-remove-headers.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-response-remove-headers.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-root-path-url-prefix.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-root-path-url-prefix.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-root-path-url-prefix.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-root-path-url-prefix.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-sufixx-with-slash-url-prefix.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-sufixx-with-slash-url-prefix.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-sufixx-with-slash-url-prefix.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-sufixx-with-slash-url-prefix.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-fullpath.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-fullpath.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-fullpath.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-fullpath.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-host.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-host.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-host.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-host.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-prefix.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-prefix.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-prefix.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-prefix.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-regex.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-regex.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-regex.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-rewrite-url-regex.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-session-persistence.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-session-persistence.listeners.yaml index a857be906cd..ed3356f4a2d 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-session-persistence.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-session-persistence.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-timeout.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-timeout.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-timeout.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-timeout.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend-uds-ip.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend-uds-ip.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend-uds-ip.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend-uds-ip.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend-with-filters.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend-with-filters.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend-with-filters.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend-with-filters.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-backend.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-invalid-backend.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-invalid-backend.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-invalid-backend.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-weighted-invalid-backend.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-with-clientcert.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-with-clientcert.listeners.yaml index 725b879b355..657d2b42a82 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-with-clientcert.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-with-clientcert.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-with-metadata.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-with-metadata.listeners.yaml index 9c25f196445..c3fb113017a 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-with-metadata.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-with-metadata.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-with-tls-system-truststore.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-with-tls-system-truststore.listeners.yaml index 725b879b355..657d2b42a82 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-with-tls-system-truststore.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-with-tls-system-truststore.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-with-tlsbundle-multiple-certs.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-with-tlsbundle-multiple-certs.listeners.yaml index 09c1f7373da..5a43997887d 100755 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-with-tlsbundle-multiple-certs.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-with-tlsbundle-multiple-certs.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: @@ -36,7 +35,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10081 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route-with-tlsbundle.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route-with-tlsbundle.listeners.yaml index 725b879b355..657d2b42a82 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route-with-tlsbundle.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route-with-tlsbundle.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http-route.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http-route.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http-route.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http-route.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http1-preserve-case.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http1-preserve-case.listeners.yaml index 7d466743074..8cebad7030e 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http1-preserve-case.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http1-preserve-case.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: @@ -42,7 +41,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http1-trailers.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http1-trailers.listeners.yaml index 952475f29ec..eb0e689ae97 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http1-trailers.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http1-trailers.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http10.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http10.listeners.yaml index 39cef2f193b..61260cb9507 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http10.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http10.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http2-route.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http2-route.listeners.yaml index ba98a10f789..460fcf1fc0b 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http2-route.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http2-route.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http2.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http2.listeners.yaml index d150efd0384..0ac436eeb75 100755 --- a/internal/xds/translator/testdata/out/xds-ir/http2.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http2.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/http3.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/http3.listeners.yaml index 98b2a58f8ef..49a651da85e 100644 --- a/internal/xds/translator/testdata/out/xds-ir/http3.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/http3.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10443 protocol: UDP drainType: MODIFY_ONLY @@ -57,7 +56,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10443 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/jsonpatch-missing-resource.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/jsonpatch-missing-resource.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/jsonpatch-missing-resource.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/jsonpatch-missing-resource.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/jsonpatch-with-jsonpath.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/jsonpatch-with-jsonpath.listeners.yaml index 1825eb14ab6..8aaea6d5fd4 100644 --- a/internal/xds/translator/testdata/out/xds-ir/jsonpatch-with-jsonpath.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/jsonpatch-with-jsonpath.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/jsonpatch.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/jsonpatch.listeners.yaml index 1825eb14ab6..8aaea6d5fd4 100644 --- a/internal/xds/translator/testdata/out/xds-ir/jsonpatch.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/jsonpatch.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/jwt-custom-extractor.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/jwt-custom-extractor.listeners.yaml index 89174e27343..d5b2dfa8ee2 100644 --- a/internal/xds/translator/testdata/out/xds-ir/jwt-custom-extractor.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/jwt-custom-extractor.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/jwt-multi-route-multi-provider.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/jwt-multi-route-multi-provider.listeners.yaml index a54a698f87b..95c52f2a86a 100644 --- a/internal/xds/translator/testdata/out/xds-ir/jwt-multi-route-multi-provider.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/jwt-multi-route-multi-provider.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/jwt-multi-route-single-provider.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/jwt-multi-route-single-provider.listeners.yaml index 668235d7cb2..e715f2945c4 100644 --- a/internal/xds/translator/testdata/out/xds-ir/jwt-multi-route-single-provider.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/jwt-multi-route-single-provider.listeners.yaml @@ -14,7 +14,6 @@ address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/jwt-optional.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/jwt-optional.listeners.yaml index 8862e7f0425..4a6a9a06315 100644 --- a/internal/xds/translator/testdata/out/xds-ir/jwt-optional.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/jwt-optional.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/jwt-ratelimit.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/jwt-ratelimit.listeners.yaml index c3eccbda5ef..53af66649b7 100644 --- a/internal/xds/translator/testdata/out/xds-ir/jwt-ratelimit.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/jwt-ratelimit.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/jwt-single-route-single-match.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/jwt-single-route-single-match.listeners.yaml index b05cedcd164..eb828bbc9d4 100644 --- a/internal/xds/translator/testdata/out/xds-ir/jwt-single-route-single-match.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/jwt-single-route-single-match.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/listener-connection-limit.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/listener-connection-limit.listeners.yaml index 7286927497c..079ca70cfd3 100644 --- a/internal/xds/translator/testdata/out/xds-ir/listener-connection-limit.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/listener-connection-limit.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: @@ -36,7 +35,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 defaultFilterChain: filters: @@ -76,7 +74,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10082 filterChains: - filterChainMatch: @@ -102,7 +99,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10083 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/listener-proxy-protocol.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/listener-proxy-protocol.listeners.yaml index 016786b37f5..89258f90704 100644 --- a/internal/xds/translator/testdata/out/xds-ir/listener-proxy-protocol.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/listener-proxy-protocol.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filterChainMatch: @@ -65,7 +64,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/listener-tcp-keepalive.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/listener-tcp-keepalive.listeners.yaml index 8b7b4013e4f..afcd96ff6b0 100644 --- a/internal/xds/translator/testdata/out/xds-ir/listener-tcp-keepalive.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/listener-tcp-keepalive.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: @@ -41,7 +40,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 defaultFilterChain: filters: @@ -93,7 +91,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10082 filterChains: - filterChainMatch: @@ -119,7 +116,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10083 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/listener-tcp-without-route.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/listener-tcp-without-route.listeners.yaml index 93a9663d159..6539e7588ec 100644 --- a/internal/xds/translator/testdata/out/xds-ir/listener-tcp-without-route.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/listener-tcp-without-route.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10443 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/load-balancer.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/load-balancer.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/load-balancer.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/load-balancer.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/local-ratelimit.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/local-ratelimit.listeners.yaml index d23d6e5323a..aff3d89b5f5 100644 --- a/internal/xds/translator/testdata/out/xds-ir/local-ratelimit.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/local-ratelimit.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/metrics-virtual-host.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/metrics-virtual-host.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/metrics-virtual-host.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/metrics-virtual-host.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/mixed-tls-jwt-authn.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/mixed-tls-jwt-authn.listeners.yaml index 565ad98228f..65814a64bd0 100644 --- a/internal/xds/translator/testdata/out/xds-ir/mixed-tls-jwt-authn.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/mixed-tls-jwt-authn.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/multiple-listeners-same-port-with-different-filters.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/multiple-listeners-same-port-with-different-filters.listeners.yaml index 44ffd11e130..39bfe9f587b 100755 --- a/internal/xds/translator/testdata/out/xds-ir/multiple-listeners-same-port-with-different-filters.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/multiple-listeners-same-port-with-different-filters.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 protocol: UDP defaultFilterChain: @@ -67,7 +66,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/multiple-listeners-same-port.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/multiple-listeners-same-port.listeners.yaml index bfed5797031..5c84e82a4ac 100644 --- a/internal/xds/translator/testdata/out/xds-ir/multiple-listeners-same-port.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/multiple-listeners-same-port.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/multiple-simple-tcp-route-same-port.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/multiple-simple-tcp-route-same-port.listeners.yaml index cf89025ba17..df909c5396f 100644 --- a/internal/xds/translator/testdata/out/xds-ir/multiple-simple-tcp-route-same-port.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/multiple-simple-tcp-route-same-port.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/mutual-tls-forward-client-certificate-with-custom-data.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/mutual-tls-forward-client-certificate-with-custom-data.listeners.yaml index 8cc49659b0a..13aea564d39 100644 --- a/internal/xds/translator/testdata/out/xds-ir/mutual-tls-forward-client-certificate-with-custom-data.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/mutual-tls-forward-client-certificate-with-custom-data.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10001 filterChains: - filters: @@ -61,7 +60,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10002 filterChains: - filters: @@ -122,7 +120,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10003 filterChains: - filters: @@ -185,7 +182,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10004 filterChains: - filters: @@ -250,7 +246,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10005 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/mutual-tls-forward-client-certificate.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/mutual-tls-forward-client-certificate.listeners.yaml index 5404e9c4612..483ada817be 100644 --- a/internal/xds/translator/testdata/out/xds-ir/mutual-tls-forward-client-certificate.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/mutual-tls-forward-client-certificate.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10001 filterChains: - filters: @@ -61,7 +60,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10002 filterChains: - filters: @@ -122,7 +120,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10003 filterChains: - filters: @@ -183,7 +180,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10004 filterChains: - filters: @@ -244,7 +240,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10005 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/mutual-tls-required-client-certificate-disabled.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/mutual-tls-required-client-certificate-disabled.listeners.yaml index ff623ed0918..20dbf81f07a 100644 --- a/internal/xds/translator/testdata/out/xds-ir/mutual-tls-required-client-certificate-disabled.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/mutual-tls-required-client-certificate-disabled.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: @@ -61,7 +60,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/mutual-tls.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/mutual-tls.listeners.yaml index 5322382f349..b51e1c7c927 100644 --- a/internal/xds/translator/testdata/out/xds-ir/mutual-tls.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/mutual-tls.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: @@ -61,7 +60,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/oidc-backend-cluster-provider.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/oidc-backend-cluster-provider.listeners.yaml index 995d70e1811..ab9e55eadf0 100644 --- a/internal/xds/translator/testdata/out/xds-ir/oidc-backend-cluster-provider.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/oidc-backend-cluster-provider.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/oidc.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/oidc.listeners.yaml index f02d5214210..714f4f17ec3 100644 --- a/internal/xds/translator/testdata/out/xds-ir/oidc.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/oidc.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/path-settings.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/path-settings.listeners.yaml index 11e2a389c0d..d20c59f8564 100644 --- a/internal/xds/translator/testdata/out/xds-ir/path-settings.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/path-settings.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/proxy-protocol-upstream.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/proxy-protocol-upstream.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/proxy-protocol-upstream.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/proxy-protocol-upstream.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ratelimit-custom-domain.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ratelimit-custom-domain.listeners.yaml index 2f68d5d848d..0e7cb96a26f 100644 --- a/internal/xds/translator/testdata/out/xds-ir/ratelimit-custom-domain.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ratelimit-custom-domain.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ratelimit-disable-headers.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ratelimit-disable-headers.listeners.yaml index 821bf6ee840..cd3d911b020 100644 --- a/internal/xds/translator/testdata/out/xds-ir/ratelimit-disable-headers.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ratelimit-disable-headers.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ratelimit-endpoint-stats.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ratelimit-endpoint-stats.listeners.yaml index 2f68d5d848d..0e7cb96a26f 100644 --- a/internal/xds/translator/testdata/out/xds-ir/ratelimit-endpoint-stats.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ratelimit-endpoint-stats.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ratelimit-headers-and-cidr.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ratelimit-headers-and-cidr.listeners.yaml index 2f68d5d848d..0e7cb96a26f 100644 --- a/internal/xds/translator/testdata/out/xds-ir/ratelimit-headers-and-cidr.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ratelimit-headers-and-cidr.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ratelimit-sourceip.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ratelimit-sourceip.listeners.yaml index 2f68d5d848d..0e7cb96a26f 100644 --- a/internal/xds/translator/testdata/out/xds-ir/ratelimit-sourceip.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ratelimit-sourceip.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/ratelimit.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/ratelimit.listeners.yaml index 2f68d5d848d..0e7cb96a26f 100644 --- a/internal/xds/translator/testdata/out/xds-ir/ratelimit.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/ratelimit.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/retry-partial-invalid.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/retry-partial-invalid.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/retry-partial-invalid.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/retry-partial-invalid.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/securitypolicy-with-oidc-jwt-authz.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/securitypolicy-with-oidc-jwt-authz.listeners.yaml index 349f027d1bf..eb5f36cb40e 100644 --- a/internal/xds/translator/testdata/out/xds-ir/securitypolicy-with-oidc-jwt-authz.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/securitypolicy-with-oidc-jwt-authz.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/simple-tls.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/simple-tls.listeners.yaml index 9f852cd8701..ff45c0826a6 100644 --- a/internal/xds/translator/testdata/out/xds-ir/simple-tls.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/simple-tls.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/suppress-envoy-headers.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/suppress-envoy-headers.listeners.yaml index 2488a8f083c..e56e13cfd68 100644 --- a/internal/xds/translator/testdata/out/xds-ir/suppress-envoy-headers.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/suppress-envoy-headers.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filterChainMatch: diff --git a/internal/xds/translator/testdata/out/xds-ir/tcp-endpoint-stats.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tcp-endpoint-stats.listeners.yaml index 12011f9ae49..05e2fc8ffe2 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tcp-endpoint-stats.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tcp-endpoint-stats.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/tcp-req-resp-sizes-stats.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tcp-req-resp-sizes-stats.listeners.yaml index c70b6728097..a2ac23f3a12 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tcp-req-resp-sizes-stats.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tcp-req-resp-sizes-stats.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/tcp-route-complex.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tcp-route-complex.listeners.yaml index 5023b077b09..515bc6416b2 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tcp-route-complex.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tcp-route-complex.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filterChainMatch: diff --git a/internal/xds/translator/testdata/out/xds-ir/tcp-route-simple.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tcp-route-simple.listeners.yaml index 72f40213b1b..7ea9adf25bb 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tcp-route-simple.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tcp-route-simple.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/tcp-route-tls-terminate.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tcp-route-tls-terminate.listeners.yaml index 4423eb58f5b..dc0e37419c9 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tcp-route-tls-terminate.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tcp-route-tls-terminate.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/tcp-route-weighted-backend.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tcp-route-weighted-backend.listeners.yaml index 4ec20d0cc11..9f8af189de4 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tcp-route-weighted-backend.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tcp-route-weighted-backend.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filterChainMatch: diff --git a/internal/xds/translator/testdata/out/xds-ir/timeout.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/timeout.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/timeout.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/timeout.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/tls-route-passthrough.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tls-route-passthrough.listeners.yaml index dab6fe543f3..f209ec6bd68 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tls-route-passthrough.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tls-route-passthrough.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filterChainMatch: @@ -23,7 +22,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 filterChains: - filterChainMatch: diff --git a/internal/xds/translator/testdata/out/xds-ir/tls-with-ciphers-versions-alpn.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tls-with-ciphers-versions-alpn.listeners.yaml index 64028f1420d..8d7f6399806 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tls-with-ciphers-versions-alpn.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tls-with-ciphers-versions-alpn.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 filterChains: - filterChainMatch: @@ -81,7 +80,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10081 filterChains: - filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/tracing-datadog.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tracing-datadog.listeners.yaml index 7f41a9bed98..32f1b0230ff 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tracing-datadog.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tracing-datadog.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/tracing-endpoint-stats.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tracing-endpoint-stats.listeners.yaml index e19a79d30dc..abac7a833a4 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tracing-endpoint-stats.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tracing-endpoint-stats.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/tracing-zipkin.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tracing-zipkin.listeners.yaml index e5532223241..a944c425639 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tracing-zipkin.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tracing-zipkin.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/tracing.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/tracing.listeners.yaml index 5832f199bc9..3bd86857b6f 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tracing.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tracing.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/udp-endpoint-stats.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/udp-endpoint-stats.listeners.yaml index 09c7681d79e..2f969eb7e95 100644 --- a/internal/xds/translator/testdata/out/xds-ir/udp-endpoint-stats.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/udp-endpoint-stats.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 protocol: UDP listenerFilters: diff --git a/internal/xds/translator/testdata/out/xds-ir/udp-req-resp-sizes-stats.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/udp-req-resp-sizes-stats.listeners.yaml index cc92fbd6ed6..3d1cb7b1c7d 100644 --- a/internal/xds/translator/testdata/out/xds-ir/udp-req-resp-sizes-stats.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/udp-req-resp-sizes-stats.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 protocol: UDP listenerFilters: diff --git a/internal/xds/translator/testdata/out/xds-ir/udp-route.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/udp-route.listeners.yaml index 71f29a0035a..cfcd4df467f 100644 --- a/internal/xds/translator/testdata/out/xds-ir/udp-route.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/udp-route.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 protocol: UDP listenerFilters: diff --git a/internal/xds/translator/testdata/out/xds-ir/upstream-tcpkeepalive.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/upstream-tcpkeepalive.listeners.yaml index a9b9065d238..80ae84fd104 100644 --- a/internal/xds/translator/testdata/out/xds-ir/upstream-tcpkeepalive.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/upstream-tcpkeepalive.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: '::' - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/testdata/out/xds-ir/wasm.listeners.yaml b/internal/xds/translator/testdata/out/xds-ir/wasm.listeners.yaml index 236ae0ec8a1..a4545e62e2c 100755 --- a/internal/xds/translator/testdata/out/xds-ir/wasm.listeners.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/wasm.listeners.yaml @@ -1,7 +1,6 @@ - address: socketAddress: address: 0.0.0.0 - ipv4Compat: true portValue: 10080 defaultFilterChain: filters: diff --git a/internal/xds/translator/translator.go b/internal/xds/translator/translator.go index a76382dd569..1e0ae77e915 100644 --- a/internal/xds/translator/translator.go +++ b/internal/xds/translator/translator.go @@ -216,7 +216,8 @@ func (t *Translator) processHTTPListenerXdsTranslation( case !xdsListenerOnSameAddressPortExists: // Create a new UDP(QUIC) listener for HTTP3 traffic if HTTP3 is enabled if http3Enabled { - if quicXDSListener, err = buildXdsQuicListener(httpListener.Name, httpListener.Address, httpListener.Port, accessLog); err != nil { + if quicXDSListener, err = buildXdsQuicListener(httpListener.Name, httpListener.Address, + httpListener.Port, httpListener.IPFamily, accessLog); err != nil { errs = errors.Join(errs, err) continue } @@ -229,7 +230,7 @@ func (t *Translator) processHTTPListenerXdsTranslation( // Create a new TCP listener for HTTP1/HTTP2 traffic. if tcpXDSListener, err = buildXdsTCPListener( - httpListener.Name, httpListener.Address, httpListener.Port, + httpListener.Name, httpListener.Address, httpListener.Port, httpListener.IPFamily, httpListener.TCPKeepalive, httpListener.Connection, accessLog); err != nil { errs = errors.Join(errs, err) continue @@ -575,7 +576,7 @@ func (t *Translator) processTCPListenerXdsTranslation( xdsListener := findXdsListenerByHostPort(tCtx, tcpListener.Address, tcpListener.Port, corev3.SocketAddress_TCP) if xdsListener == nil { if xdsListener, err = buildXdsTCPListener( - tcpListener.Name, tcpListener.Address, tcpListener.Port, + tcpListener.Name, tcpListener.Address, tcpListener.Port, tcpListener.IPFamily, tcpListener.TCPKeepalive, tcpListener.Connection, accesslog); err != nil { // skip this listener if failed to build xds listener errs = errors.Join(errs, err)