ci: Update Kubernetes versions to latest three minor releases#4256
ci: Update Kubernetes versions to latest three minor releases#4256
Conversation
… 1.34.2) Co-authored-by: JaydipGabani <20255485+JaydipGabani@users.noreply.github.com>
|
@copilot can you fix the CI error? |
Co-authored-by: JaydipGabani <20255485+JaydipGabani@users.noreply.github.com>
Fixed in c340dd6. The CI error was caused by using Kubernetes versions that don't have corresponding KIND (Kubernetes in Docker) images yet. Updated to use the latest available KIND images for each minor version: 1.32.8, 1.33.4, and 1.34.0. |
|
@copilot recreate |
…34.3, 1.35.1) Co-authored-by: JaydipGabani <20255485+JaydipGabani@users.noreply.github.com>
Recreated in 00834b5. Updated to the latest available KIND images for the three most recent Kubernetes minor versions: 1.33.7, 1.34.3, and 1.35.1. This includes Kubernetes 1.35.x which is a new minor version since the original PR. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
There was a problem hiding this comment.
Pull request overview
Updates Gatekeeper’s CI/e2e configuration to test against the latest three Kubernetes minor versions available as KIND node images, and aligns developer defaults/documentation with the new baseline.
Changes:
- Bumped CI KIND Kubernetes version matrix in the main workflow to 1.33.7 / 1.34.3 / 1.35.1
- Updated the Makefile default
KUBERNETES_VERSIONto 1.35.1 - Updated AGENTS.md CI documentation to reflect the new tested Kubernetes range (1.33–1.35)
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
Makefile |
Updates the default Kubernetes version used by Make targets (envtest, kubectl download, kind image). |
AGENTS.md |
Updates documented CI Kubernetes range to match current workflow configuration. |
.github/workflows/workflow.yaml |
Updates the main CI job matrix to run e2e across the latest three Kubernetes minors. |
setup-envtest does not have published assets for 1.35.1. The latest available version is 1.35.0. Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
bb57dc9 to
d66813c
Compare
The admissionregistration.k8s.io/v1beta1 ValidatingAdmissionPolicy API was removed in Kubernetes 1.34. With KUBERNETES_VERSION bumped to 1.35.0, the envtest API server no longer serves v1beta1 VAP resources. Update all VAP/VAPB test assertions and the default test group version from v1beta1 to v1. Operation type constants from v1beta1 are retained where they are used for local struct comparisons in transform unit tests. Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
What this PR does / why we need it:
Updates CI test matrix and Makefile to use the latest three Kubernetes minor versions available in KIND (Kubernetes in Docker).
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when the PR gets merged):Fixes #
Special notes for your reviewer:
Changes
.github/workflows/workflow.yaml,.github/workflows/test-gator.yaml): Updated from["1.31.6", "1.32.3", "1.33.2"]to["1.33.7", "1.34.3", "1.35.1"]KUBERNETES_VERSIONfrom1.33.0to1.35.11.33-1.35This maintains the project's policy of testing against the latest three supported Kubernetes minor versions.
Note on Version Selection
The versions selected (1.33.7, 1.34.3, 1.35.1) represent the latest available KIND node images for each minor version as of February 2026. This update includes support for Kubernetes 1.35.x, which is a new minor version. KIND image availability typically lags behind Kubernetes releases, which is why we use the most recent patch version that has a corresponding KIND node image.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.