Skip to content

chore(kubernetes): refresh managed Kubernetes patch versions#3014

Merged
Aleksei Sviridkin (lexfrei) merged 1 commit into
mainfrom
chore/bump-kubernetes-versions
Jun 23, 2026
Merged

chore(kubernetes): refresh managed Kubernetes patch versions#3014
Aleksei Sviridkin (lexfrei) merged 1 commit into
mainfrom
chore/bump-kubernetes-versions

Conversation

@lexfrei

@lexfrei Aleksei Sviridkin (lexfrei) commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

What this PR does

Refreshes every supported Kubernetes minor in the apps/kubernetes version map (files/versions.yaml) to its latest upstream patch, picking up the published Go-stdlib / x/net fixes in the control-plane component images:

minor from to
v1.35 v1.35.1 v1.35.6
v1.34 v1.34.4 v1.34.9
v1.33 v1.33.8 v1.33.13
v1.32 v1.32.12 v1.32.13

v1.31.14 and v1.30.14 already track their latest patch. The major/minor enum is unchanged, so make generate is a no-op (the values schema, CRD and README are untouched). helm-unittest passes (129/129).

Scope notes

  • Version range is intentionally held at v1.30-v1.35 and does NOT advance to v1.36. KubeVirt 1.8.2 rejects the kubelet checksum on Kubernetes 1.36 (int32 CRD validation), leaving tenant VMIs stuck Scheduled (tracked in KubeVirt 1.8.2 VMIs stuck in Scheduled on Kubernetes 1.36 hosts (checksum int32 CRD validation) #2769). The kamaji bump to 26.6.4-edge raises KubeadmVersion to v1.36.0, so hack/update-versions.sh would otherwise pull v1.36 into this map — that expansion is deferred until the KubeVirt regression is fixed.
  • hack/update-versions.sh also caps the top minor at the exact KubeadmVersion (v1.35.0), which would downgrade the current v1.35.1. v1.35 is set to the latest patch (v1.35.6) by hand instead, matching the existing practice of running a patch above the kubeadm tool version.
  • The OS-package advisories from the scan (libexpat, libpython3.13, git, python3, perl, …) live in the ubuntu-container-disk worker images, built via guestfish from the floating ubuntu noble/current base. Those clear when the release pipeline rebuilds them on the current cloud image — the base is not digest-pinned, so no source change is needed for them here.

Refs #2876

Release note

chore(kubernetes): refresh managed Kubernetes versions to latest patches (v1.35.6, v1.34.9, v1.33.13, v1.32.13)

Summary by CodeRabbit

  • Chores
    • Updated Kubernetes version support for v1.35, v1.34, v1.33, and v1.32 with the latest patch releases.

Bumps every supported Kubernetes minor in the apps/kubernetes version map to its
latest upstream patch, picking up the published Go-stdlib / x/net fixes in the
control-plane component images:

- v1.35: v1.35.1 -> v1.35.6
- v1.34: v1.34.4 -> v1.34.9
- v1.33: v1.33.8 -> v1.33.13
- v1.32: v1.32.12 -> v1.32.13

v1.31 and v1.30 already track their latest patch (.14). The major/minor enum is
unchanged, so the generated values schema, CRD and README are untouched
(make generate is a no-op).

The version range is intentionally held at v1.30-v1.35 and does NOT advance to
v1.36: KubeVirt 1.8.2 rejects the kubelet checksum on Kubernetes 1.36 (int32 CRD
validation), leaving tenant VMIs stuck Scheduled. The kamaji bump to 26.6.4-edge
raises KubeadmVersion to v1.36.0, so hack/update-versions.sh would otherwise add
v1.36 here -- that expansion is deferred until the KubeVirt regression is fixed.
The script also caps the top minor at the exact KubeadmVersion (v1.35.0); v1.35
is set to the latest patch (v1.35.6) by hand instead, matching the existing
practice of running a patch above the kubeadm tool version.

The OS-package advisories in the scan live in the ubuntu-container-disk worker
images; those clear when the release pipeline rebuilds them on the floating
ubuntu noble/current base (no source change needed -- the base is not pinned).

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e634352e-38aa-4eb7-9062-0fcbef7d1e12

📥 Commits

Reviewing files that changed from the base of the PR and between 82b8c46 and a0cd77d.

📒 Files selected for processing (1)
  • packages/apps/kubernetes/files/versions.yaml

📝 Walkthrough

Walkthrough

The versions.yaml file in the Kubernetes app package has four entries updated: v1.35, v1.34, v1.33, and v1.32 each have their corresponding patch version bumped to newer values. The v1.31 and v1.30 entries remain unchanged.

Changes

Kubernetes Patch Version Bumps

Layer / File(s) Summary
Bump patch versions for v1.32–v1.35
packages/apps/kubernetes/files/versions.yaml
Patch version numbers for v1.35, v1.34, v1.33, and v1.32 are incremented to newer upstream values; v1.31 and v1.30 are untouched.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Poem

🐇 Hop, hop, hop through version land,
Patching v1.32 to v1.35 as planned.
Four little bumps in the YAML file,
Keeping Kubernetes fresh all the while.
This bunny approves — go forth and compile! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely summarizes the main change: refreshing managed Kubernetes patch versions in the versions.yaml file, which is exactly what the changeset accomplishes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-kubernetes-versions

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added area/kubernetes Issues or PRs related to the tenant Kubernetes app kind/cleanup Categorizes issue or PR as related to cleanup of code, process, or technical debt labels Jun 23, 2026
@lexfrei Aleksei Sviridkin (lexfrei) marked this pull request as ready for review June 23, 2026 00:32
@github-actions github-actions Bot added the size/XS This PR changes 0-9 lines, ignoring generated files label Jun 23, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the managed Kubernetes patch versions within the project configuration to ensure the control-plane components benefit from the latest upstream security and stability improvements. The changes are limited to the version mapping file, ensuring that no breaking changes are introduced to the existing infrastructure schema or generated artifacts.

Highlights

  • Kubernetes Version Updates: Updated supported Kubernetes minor versions (v1.32 through v1.35) to their latest upstream patch releases to incorporate security fixes.
  • Version Range Constraint: Maintained the current Kubernetes version range (v1.30-v1.35) and deferred upgrading to v1.36 due to identified compatibility issues with KubeVirt.
New Features

🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment Gemini (@gemini-code-assist) Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on Gemini (@gemini-code-assist) comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Kubernetes patch versions in packages/apps/kubernetes/files/versions.yaml for versions v1.32 through v1.35. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@myasnikovdaniil myasnikovdaniil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVE — clean, correctly-scoped patch refresh.

Verified statically (no tenant cluster stood up, per scope):

  • Versions are real and latest-in-minor. registry.k8s.io/kube-apiserver returns 200 for v1.35.6 / v1.34.9 / v1.33.13 / v1.32.13, and the next patch in each minor (v1.35.7 / v1.34.10 / v1.33.14 / v1.32.14) is 404 — so these are the current latest patches. v1.31.14 / v1.30.14 are also confirmed latest and correctly left unchanged. The string resolves to the kamaji TenantControlPlane version: (templates/cluster.yaml:216) which maps to existing control-plane images.
  • 1.36 exclusion is genuine. No 1.36 key was added. #2769 is OPEN and matches the cited root cause; the repo ships KubeVirt v1.8.2 (packages/system/kubevirt-operator/Makefile:10, templates/kubevirt-operator.yaml:8539-8546). Good call hand-editing the map rather than running hack/update-versions.sh, which would cap the top minor at kamaji's KubeadmVersion (downgrading v1.35) and otherwise pull 1.36. Note kamaji itself is unchanged by this PR (26.3.5-edge on both main and head).
  • Purely additive, no strand risk. All six minor keys (v1.35–v1.30) are preserved; tenant CRs pin the minor (the values.yaml enum is minor-only), so existing tenants simply get the new patch on next reconcile.
  • ubuntu-container-disk / OS-CVE claim is context, not in this diff — correct. Worker disk tag files are minor-keyed and rebuilt by the release pipeline from the floating noble/current base; independently, workers fetch the exact patch kubelet/kubeadm at boot from dl.k8s.io (templates/cluster.yaml:435-468), so the patch refresh takes effect at deploy time regardless of disk rebuild.
  • make generate is a no-op (patch-level map vs minor-level schema), consistent with the +4/-4 single-file diff. helm-unittest passes locally (129/129), matching the PR body.

No blocking findings.

@lexfrei Aleksei Sviridkin (lexfrei) merged commit 8c01706 into main Jun 23, 2026
12 checks passed
@lexfrei Aleksei Sviridkin (lexfrei) deleted the chore/bump-kubernetes-versions branch June 23, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/kubernetes Issues or PRs related to the tenant Kubernetes app kind/cleanup Categorizes issue or PR as related to cleanup of code, process, or technical debt size/XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants