Repository navigation
feat: Bump gatewayapi v1.6.0 - #9232
Conversation
✅ Deploy Preview for cerulean-figolla-1f9435 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| @@ -577,13 +577,6 @@ func (t *Translator) processHTTPRouteRule( | |||
| ) ([]*ir.HTTPRoute, status.Error) { | |||
| var sessionPersistence *ir.SessionPersistence | |||
| if rule.SessionPersistence != nil { | |||
| if rule.SessionPersistence.IdleTimeout != nil { | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
Could we add a release note for this change?
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #9232 +/- ##
==========================================
+ Coverage 75.20% 75.22% +0.01%
==========================================
Files 252 252
Lines 41049 41093 +44
==========================================
+ Hits 30871 30912 +41
+ Misses 8084 8080 -4
- Partials 2094 2101 +7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a307c7f2ce
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Signed-off-by: zirain <zirain2009@gmail.com>
bf9a989 to
fa90e4b
Compare
fa90e4b to
404f982
Compare
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
2220fe9 to
275278a
Compare
Signed-off-by: zirain <zirain2009@gmail.com>
275278a to
86cd5c2
Compare
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
There was a problem hiding this comment.
Pull request overview
This PR updates Envoy Gateway to use Gateway API v1.6.0-rc.2, including migrating TCPRoute/UDPRoute usage from v1alpha2 to v1 across the codebase and test fixtures, and aligning the project’s conformance/e2e harness with upstream Gateway API conformance option handling.
Changes:
- Bump
sigs.k8s.io/gateway-apitov1.6.0-rc.2(and associated transitive deps) and update test module deps accordingly. - Switch TCPRoute/UDPRoute manifests and in-memory types from
v1alpha2tov1(code, examples, testdata, fuzz inputs). - Update e2e/conformance suites to use upstream
ConfigurableOptionswiring; add/propagate--cleanup-test-resourcesin make targets.
Required fixes
test/e2e/multiple_gc/multiple_gc_test.go: fix the data race caused by mutating sharedsuiteOptsaftert.Parallel().site/content/en/news/releases/matrix.md: align the “latest” Gateway API version with what’s actually compiled (v1.6.0-rc.2pergo.mod) or adjust the dependency bump to match the documented stable version.- Add a release-note fragment for the Gateway API version bump (repo uses
release-notes/current/...fragments).
Reviewed changes
Copilot reviewed 170 out of 184 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/make/kube.mk | Bump Gateway API CRD version; add cleanup-test-resources flag plumbing. |
| test/resilience/resilience_test.go | Use conformance ConfigurableOptions for GatewayClassName. |
| test/helm/gateway-helm/webhook-disabled.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/service-customization.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/namespace-override.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/horizontal-pod-autoscaler.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/horizontal-pod-autoscaler-disabled.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/global-registry-override-global.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/global-registry-override-deployment.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/global-pullsecrets-override-global.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/global-pullsecrets-override-deployment.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/global-images-config.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/envoy-gateway-gateway-namespace-namespaceselector.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/envoy-gateway-gateway-namespace-config.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/envoy-gateway-gateway-namespace-config-watch.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/envoy-gateway-config.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/deployment-volume-mounts.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/deployment-strategy.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/deployment-securitycontext.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/deployment-repo-no-registry.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/deployment-priorityclass.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/deployment-pod-securitycontext.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/deployment-images-config.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/deployment-extraenv.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/deployment-custom-topology.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/deployment-annotations.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/default-config.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/control-plane-with-pdb.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/common-labels.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/certjen-custom-scheduling.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/certgen-labels.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/certgen-args.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/helm/gateway-helm/certgen-annotations.out.yaml | Update safe-upgrade policy output (bundle-version/CEL expr). |
| test/gobench/translate_test.go | Update UDPRoute apiVersion to v1 in benchmark YAML. |
| test/go.mod | Bump Gateway API deps for test module; update transitive versions. |
| test/fuzz/xds_fuzz_test.go | Update UDPRoute apiVersion to v1 in fuzz seed YAML. |
| test/fuzz/testdata/FuzzGatewayAPIToXDS/udp_routing | Update UDPRoute apiVersion to v1 in fuzz corpus. |
| test/fuzz/testdata/FuzzGatewayAPIToXDS/tcp_routing | Update TCPRoute apiVersion to v1 in fuzz corpus. |
| test/e2e/upgrade/eg_upgrade_test.go | Switch to ConfigurableOptions-based suite setup; add logging. |
| test/e2e/tests/udproute.go | Use gwapiv1.UDPRoute instead of v1alpha2. |
| test/e2e/tests/tcproute.go | Use gwapiv1.TCPRoute instead of v1alpha2. |
| test/e2e/testdata/udproute.yaml | Update UDPRoute apiVersion to v1. |
| test/e2e/testdata/udproute-to-backend-ip.yaml | Update UDPRoute apiVersion to v1. |
| test/e2e/testdata/udproute-to-backend-fqdn.yaml | Update UDPRoute apiVersion to v1. |
| test/e2e/testdata/tcproute.yaml | Update TCPRoute apiVersion to v1. |
| test/e2e/testdata/tcproute-to-backend.yaml | Update TCPRoute apiVersion to v1. |
| test/e2e/testdata/tcproute-mtls.yaml | Update TCPRoute apiVersion to v1. |
| test/e2e/testdata/tcproute-authorization-client-ip.yaml | Update TCPRoute apiVersion to v1. |
| test/e2e/testdata/metrics-stat-tcproute.yaml | Update TCPRoute apiVersion to v1. |
| test/e2e/testdata/listenerset-udp.yaml | Update UDPRoute apiVersion to v1. |
| test/e2e/testdata/listenerset-tcp.yaml | Update TCPRoute apiVersion to v1. |
| test/e2e/multiple_gc/multiple_gc_test.go | Switch suite setup to ConfigurableOptions (needs race fix). |
| test/e2e/merge_gateways/merge_gateways_test.go | Switch suite setup to ConfigurableOptions and option logging. |
| test/e2e/e2e_test.go | Switch suite setup to ConfigurableOptions; propagate supported features/skip list. |
| test/e2e/base/manifests.yaml | Add required backend Deployments/Services for conformance namespaces. |
| test/conformance/suite.go | Adopt ConfigurableOptions; adjust supported/exempt features to slices. |
| test/conformance/experimental_conformance_test.go | Update conformance profile type to slice; use new report output field. |
| test/conformance/conformance_test.go | Remove direct flag logging; rely on conformanceOpts wiring. |
| site/content/en/news/releases/matrix.md | Update “latest” Gateway API version cell (currently mismatched). |
| internal/provider/kubernetes/test/utils.go | Migrate helper TCP/UDP route types/BackendRefs to v1. |
| internal/provider/kubernetes/status.go | Migrate TCP/UDP status handling to v1 types. |
| internal/provider/kubernetes/status_updater.go | Update status equality/kind detection for v1 TCP/UDP routes. |
| internal/provider/kubernetes/routes.go | Migrate route processing/listing to v1 TCP/UDP types. |
| internal/provider/kubernetes/predicates.go | Migrate backend reference scans to v1 TCP/UDP lists. |
| internal/provider/kubernetes/predicates_test.go | Update fake client index registrations to v1 TCP/UDP types. |
| internal/provider/kubernetes/indexers.go | Update indexers and type assertions to v1 TCP/UDP route types. |
| internal/provider/kubernetes/controller.go | Watch v1 TCP/UDP CRDs and resources (standard channel served). |
| internal/provider/kubernetes/controller_offline.go | Update offline controller indices to v1 TCP/UDP types. |
| internal/provider/kubernetes/controller_offline_test.go | Update offline index registration tests to v1 lists. |
| internal/message/types.go | Update status map types to v1 TCP/UDP statuses. |
| internal/gatewayapi/translator.go | Update translate result TCP/UDP slices to v1 types. |
| internal/gatewayapi/testdata/udproute-with-backend.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/udproute-with-backend.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/udproute-rule-with-multiple-backends-and-zero-weights.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/udproute-rule-with-multiple-backends-and-zero-weights.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/tcproute-with-backendtlspolicy.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/tcproute-with-backendtlspolicy.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/tcproute-with-backend.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/tcproute-with-backend.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/tcproute-securitypolicy-without-authorization.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/tcproute-securitypolicy-without-authorization.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/tcproute-securitypolicy-with-authorization-client-cidr.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/tcproute-securitypolicy-with-authorization-client-cidr.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/tcproute-rule-with-multiple-backends-and-zero-weights.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/tcproute-rule-with-multiple-backends-and-zero-weights.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/tcproute-attaching-to-gateway-with-listener-tls-terminate.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/tcproute-attaching-to-gateway-with-listener-tls-terminate.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/securitypolicy-with-merge-tcp-invalid.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/securitypolicy-with-merge-tcp-invalid.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/listenerset-udproute.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/listenerset-udproute.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/listenerset-tcproute.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/listenerset-tcproute.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml | Update UDPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.in.yaml | Update UDPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/envoyproxy-tls-settings.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/envoyproxy-tls-settings.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid-ns.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/envoyproxy-tls-settings-invalid-ns.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/clienttrafficpolicy-proxyprotocol-legacy-mixed.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/clienttrafficpolicy-proxyprotocol-legacy-mixed.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification-expired-crl.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/clienttrafficpolicy-mtls-client-verification-expired-crl.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/clienttrafficpolicy-invalid-settings.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/clienttrafficpolicy-invalid-settings.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/clienttrafficpolicy-for-tcp-listeners.out.yaml | Update TCPRoute apiVersion to v1 in golden output. |
| internal/gatewayapi/testdata/clienttrafficpolicy-for-tcp-listeners.in.yaml | Update TCPRoute apiVersion to v1 in test input. |
| internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-route.out.yaml | Update TCP/UDP apiVersions to v1 in golden output. |
| internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-route.in.yaml | Update TCP/UDP apiVersions to v1 in test input. |
| internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-gateway.out.yaml | Update TCP/UDP apiVersions to v1 in golden output. |
| internal/gatewayapi/testdata/backendtrafficpolicy-with-tcp-udp-listeners-apply-on-gateway.in.yaml | Update TCP/UDP apiVersions to v1 in test input. |
| internal/gatewayapi/securitypolicy_test.go | Update TCPRoute test objects to v1 types. |
| internal/gatewayapi/runner/runner.go | Emit v1 TCP/UDP RouteStatus types into watchable maps. |
| internal/gatewayapi/runner/runner_test.go | Update runner tests to v1 status/controller types. |
| internal/gatewayapi/route.go | Update interfaces/types to v1 TCP/UDP; drop removed IdleTimeout check. |
| internal/gatewayapi/resource/zz_generated.deepcopy.go | Regenerate deepcopy for v1 TCP/UDP route pointers. |
| internal/gatewayapi/resource/testdata/all-resources2.out.yaml | Update TCP/UDP apiVersions to v1 in golden output. |
| internal/gatewayapi/resource/testdata/all-resources2.in.yaml | Update TCP/UDP apiVersions to v1 in test input. |
| internal/gatewayapi/resource/testdata/all-resources.out.yaml | Update TCP/UDP apiVersions to v1 in golden output. |
| internal/gatewayapi/resource/testdata/all-resources.in.yaml | Update TCP/UDP apiVersions to v1 in test input. |
| internal/gatewayapi/resource/resource.go | Update Resources struct TCP/UDP fields to v1 types. |
| internal/gatewayapi/resource/load.go | Parse/load TCP/UDP routes into v1 objects. |
| internal/gatewayapi/contexts.go | Update TCP/UDP route context wrappers to v1 types. |
| internal/cmd/egctl/testdata/translate/out/valid-envoyproxy.all.yaml | Update TCP/UDP apiVersions to v1 in egctl translate output. |
| internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml | Update TCP/UDP apiVersions to v1 in egctl translate output. |
| internal/cmd/egctl/testdata/translate/in/valid-envoyproxy.yaml | Update TCP/UDP apiVersions to v1 in egctl translate input. |
| internal/cmd/egctl/testdata/translate/in/no-gateway-class-resources.yaml | Update TCPRoute apiVersion to v1 in egctl translate input. |
| internal/cmd/egctl/testdata/translate/in/invalid-envoyproxy.yaml | Update TCP/UDP apiVersions to v1 in egctl translate input. |
| internal/cmd/egctl/testdata/translate/in/from-gateway-api-to-xds.yaml | Update TCP/UDP apiVersions to v1 in egctl translate input. |
| internal/cmd/egctl/testdata/translate/in/default-resources.yaml | Update TCP/UDP apiVersions to v1 in egctl translate input. |
| internal/cmd/egctl/status.go | List v1 TCPRoute/UDPRoute for egctl x status paths. |
| internal/admin/console/api_test.go | Update admin console resource fixtures to v1 TCP/UDP types. |
| go.mod | Bump Gateway API + transitive deps in main module. |
| examples/kubernetes/tls-termination.yaml | Update TCPRoute apiVersion to v1 in example. |
| examples/kubernetes/tcp-routing.yaml | Update TCPRoute apiVersion to v1 in example. |
| examples/extension-server/go.sum | Update checksums for bumped dependencies. |
| examples/extension-server/go.mod | Bump Gateway API + transitive deps for extension-server example. |
| charts/gateway-helm/charts/crds/templates/gatewayapi-safe-upgrade-policy.yaml | Update VAP bundle-version and CEL rule for v1.5+ gating. |
Files not reviewed (1)
- internal/gatewayapi/resource/zz_generated.deepcopy.go: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c004c10310
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: zirain <zirain2009@gmail.com>
zhaohuabing
left a comment
There was a problem hiding this comment.
We need a release note for this:
Envoy Gateway now reconciles TCPRoute/UDPRoute via the gateway.networking.k8s.io/v1 API. You must upgrade the Gateway API CRDs to v1.6 before/with this release. Existing v1alpha2 manifests continue to work (both versions are served), but if the v1.6 CRDs are not installed, TCP/UDP routes will be silently skipped. The stored version moves to v1; a storage-version migration will be required before v1alpha2 is eventually removed.
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
| @@ -0,0 +1 @@ | |||
| Envoy Gateway now reconciles TCPRoute and UDPRoute using the `gateway.networking.k8s.io/v1` API group, promoted in Gateway API v1.6. To avoid traffic disruption, upgrade the Gateway API CRDs to v1.6 **before** upgrading Envoy Gateway. Users of the **standard channel** must also update their TCPRoute and UDPRoute manifests to `apiVersion: gateway.networking.k8s.io/v1` before upgrading the CRDs, since `v1alpha2` is no longer served in the v1.6 standard channel. Users of the **experimental channel** can upgrade the CRDs first; both `v1` and `v1alpha2` continue to be served, so existing manifests work without immediate changes. If the v1.6 CRDs are not installed before upgrading Envoy Gateway, TCP and UDP routes will be silently skipped by the reconciler. The stored version in etcd moves from `v1alpha2` to `v1`; a storage-version migration will be required before `v1alpha2` is eventually removed. | |||
There was a problem hiding this comment.
The standard-channel guidance reads slightly off: v1alpha2 wasn't "no longer served" in the standard channel — TCPRoute/UDPRoute weren't in the standard channel at all before 1.6. 1.6 promotes them in, serving only v1. Suggest:
Gateway API 1.6 adds TCPRoute/UDPRoute to the standard channel for the first time, serving only v1. Standard-channel users must use apiVersion: gateway.networking.k8s.io/v1.
Signed-off-by: zirain <zirain2009@gmail.com>
a3c1f5a to
3b9823e
Compare
Signed-off-by: zirain <zirain2009@gmail.com>
Fixes: #9213