feat(gatewayapi): bump bundled Envoy Gateway helm chart to v1.8.0 [release-v1.42]#4833
Open
electricjesus wants to merge 5 commits into
Open
feat(gatewayapi): bump bundled Envoy Gateway helm chart to v1.8.0 [release-v1.42]#4833electricjesus wants to merge 5 commits into
electricjesus wants to merge 5 commits into
Conversation
…lease-v1.42] Mirrors tigera#4832 (master) onto release-v1.42 for the v3.23 GA. - Makefile: ENVOY_GATEWAY_VERSION v1.7.2 -> v1.8.0 - go.mod: github.com/envoyproxy/gateway v1.7.2 -> v1.8.0 - pkg/render/gatewayapi/gateway_api_resources.yaml: regenerated - pkg/render/gatewayapi/gateway_api.go: loader handles ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding shipped by v1.8 chart - gateway_api_test.go: expected resource lists updated
|
this is awesome - thanks a lot! |
go.mod's go directive bumped to 1.26.3 after the envoyproxy/gateway v1.8.0 upgrade pulled deps that require a newer toolchain. The previous GO_BUILD_VER (1.25.10-llvm18.1.8-k8s1.35.4) ships Go 1.25.10 and the build amd64 job fails with: go: go.mod requires go >= 1.26.3 (running go 1.25.10; GOTOOLCHAIN=local) Bumping to the matching Go 1.26.3 toolchain image. K8s minor preserved at 1.35.4 (same as release-v1.42 base) so only the Go and LLVM bases change.
Mirrors the static-checks portion of master commit 8d9201e (tigera#4613, "Bump go to 1.26 and k8s to 1.35"). The newer GO_BUILD_VER ships an updated staticcheck that flags WriteString(fmt.Sprintf(...)) as QF1012; master cleared all 7 sites in the same go-toolchain bump but v1.42 missed the backport. Affected: - test/mainline_test.go:453-470 (6 sites in removeInstallation debug) - pkg/tls/certificatemanagement/certificatebundle.go:195 (1 site) Both strings.Builder and bytes.Buffer satisfy io.Writer, so the substitution is a direct rewrite.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to #4832 on master. Lands on release-v1.42 ahead of v3.23 GA that v1.8 behavior changes (samplingFraction, OIDC consolidation, DirectResponse interpolation) are inside the e2e coverage envelope for v3.23.
Description
Bumps Envoy Gateway from v1.7.2 to v1.8.0 on release-v1.42, including ListenerSet support requested by community users.
Type: enhancement.
Why
EG v1.8.0 (released 2026-05-13) adds first-class
ListenerSetsupport, which is what cert-manager and external-dns integrate against on Gateway-API installs. Without this, teams using those tools cannot migrate off ingress-nginx onto our Gateway-API offering.Community ask: #4534 (comment) (sebhoss, referencing envoyproxy/gateway#8409).
Scope
Makefile:ENVOY_GATEWAY_VERSIONv1.7.2 → v1.8.0.go.mod:github.com/envoyproxy/gatewayv1.7.2 → v1.8.0. Cascadessigs.k8s.io/gateway-apiv1.4.1 → v1.5.1 (CRDs bumped upstream). Nok8s.io/*orcontroller-runtimejumps (v1.8 is compatible with the same k8s line release-v1.42 already runs).pkg/render/gatewayapi/gateway_api_resources.yaml: regenerated fromoci://docker.io/envoyproxy/gateway-helmat v1.8.0.pkg/render/gatewayapi/gateway_api.go: loader extended to handle two new resource kinds shipped in the v1.8 chart:ValidatingAdmissionPolicyandValidatingAdmissionPolicyBinding. These back the upstream gateway-api "safe-upgrades" admission policy — they're passed through toObjects()unchanged, no special handling.pkg/render/gatewayapi/gateway_api_test.go: expected resource lists updated to include the two new admission policies; core-object count bumped from 20 to 22.Behavior changes inherited from upstream v1.8.0
Per v1.8.0 release notes:
DirectResponseHTTPFilter body now supports Envoy command operators — existing CRs with literal%characters will be interpreted as template directives.SecurityPolicy0stimeout now means infinite rather than immediate termination — semantic flip.samplingFractiontranslation corrected — existing CRs sample 100× their previous rate; users must divide by 100 to preserve prior behavior.SecurityPolicynow generates a single nativeenvoy.filters.http.oauth2HTTP filter in the HCM filter chain — breaksEnvoyPatchPolicyconfigs that matched per-route oauth2 instances.SecurityPolicyresources changed — affectedEnvoyPatchPolicyrefs need updating.safe-upgradesadmission policy now ships to prevent unsafe in-place CRD migrations.These ride through to whichever release branch picks up this commit — they are not appropriate for backport to a stable release branch as-is. Recommend landing on release-v1.42 only for now; let a future CE minor (post-v3.23) include them through normal release cadence.
Companion repos
A v1.8 EG controller binary expects upstream Envoy proxy
distroless-v1.38.0. release-v1.42 currently buildstigera/envoy-proxyfromtigera/envoybinaryat v1.37.2. To fully align release-v1.42, follow-up PRs needed:tigera/envoybinarymain:ENVOY_VERSIONv1.37.2 → v1.38.x.tigera/calico-privaterelease-v1.42third_party/envoy-proxy/Dockerfile: bump the envoybinary digest pin to the new v1.38.x image build.This operator PR is functional on its own — xDS is generally forward/backward compatible — but the proxy-side bumps are needed before any release that ships this commit goes to customers, otherwise EG v1.8 features that emit v1.38-specific xDS config will silently degrade on v1.37 envoy pods.
Testing
go vet ./pkg/render/gatewayapi/... ./pkg/controller/gatewayapi/...go build ./pkg/render/gatewayapi/... ./pkg/controller/gatewayapi/...go test ./pkg/render/gatewayapi/...— 20/20 passgo test ./pkg/controller/gatewayapi/...— passgrep ListenerSet pkg/render/gatewayapi/gateway_api_resources.yaml— present (65 hits)make utfull suite — pending reviewer environmentListenerSet,lateResponseHeaders, andsafe-upgradesadmission policy — pendingComponents affected
pkg/render/gatewayapionly on operator-side. Companion bumps tracked separately fortigera/envoybinary+tigera/calico-private.Related PRs
release-v1.40for the v1.5.9 → v1.7.2 chart drift on CE v3.22.4: feat(gatewayapi): bump bundled Envoy Gateway helm chart to v1.7.2 [release-v1.40] #4831.Release Note
For PR author
pkg/render/gatewayapi/gateway_api_test.goupdated for new admission policy resources.make gen-files— N/Amake gen-versions— N/A (EG chart version, not a CE component version)For PR reviewers
kind/enhancemententerprise(Calico Enterprise gateway-api install affected)release-note-requireddocs-pr-required(ListenerSet integration with cert-manager / external-dns warrants a docs update)cc @nelljerram @pasanw @sebhoss