Skip to content

Bump k8s.io/apimachinery from 0.34.3 to 0.35.0#62

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/k8s.io/apimachinery-0.35.0
Open

Bump k8s.io/apimachinery from 0.34.3 to 0.35.0#62
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/k8s.io/apimachinery-0.35.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Dec 22, 2025

Bumps k8s.io/apimachinery from 0.34.3 to 0.35.0.

Commits
  • 72d71ea Merge remote-tracking branch 'origin/master' into release-1.35
  • e2a2dbc Bump golang.org/x/crypto to v0.45.0
  • 2e9c228 Merge pull request #135131 from Dev1622/sig-storage/mock-expand-flake-fix
  • f274aac vendor: update vendor and license metadata after replacing BeTrue usage in cs...
  • 9445443 Resolve lint restriction on BeTrue by introducing Succeed() with contextual e...
  • 52154f7 Update vendored dependencies
  • 5a348c5 KEP-5471: Extend tolerations operators (#134665)
  • 6f89492 Merge pull request #133648 from richabanker/merged-discovery
  • c77dde2 util/sort: Add MergePreservingRelativeOrder for topological sorting
  • 729c13d Merge pull request #134624 from yt2985/podcertificates-beta
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Summary by CodeRabbit

  • Chores
    • Upgraded Go toolchain to version 1.25.0
    • Updated all dependencies to their latest versions for improved compatibility and stability

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Dec 22, 2025
@openshift-ci openshift-ci Bot requested review from lpiwowar and umago December 22, 2025 10:28
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Dec 22, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dependabot[bot]
Once this PR has been reviewed and has the lgtm label, please assign umago for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Dec 22, 2025

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.34.3 to 0.35.0.
- [Commits](kubernetes/apimachinery@v0.34.3...v0.35.0)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/k8s.io/apimachinery-0.35.0 branch from 2d1bc78 to 8cecf62 Compare January 13, 2026 13:46
@lpiwowar lpiwowar removed request for lpiwowar and umago March 23, 2026 13:49
@lpiwowar
Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 23, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 23, 2026

📝 Walkthrough

Walkthrough

Updated Go toolchain version from 1.24.6 to 1.25.0 in go.mod. Bumped multiple dependency versions including Kubernetes, protobuf, and various golang.org packages to their latest releases.

Changes

Cohort / File(s) Summary
Dependency and Toolchain Updates
go.mod
Upgraded Go toolchain to 1.25.0; updated 13 module dependencies to newer versions (k8s.io/apimachinery, golang.org/x/, google.golang.org/protobuf, gopkg.in/, and others).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Dependencies hop to the latest beat,
Golang's toolchain now complete,
Version bumps both far and wide,
One-twenty-five with growing pride,
Kubernetes and protobuf in tow,
Onward to where dependencies flow!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title specifically mentions only the k8s.io/apimachinery bump, but the changeset updates 12+ dependencies and the Go toolchain version. Consider a more accurate title like 'Bump Go toolchain and multiple dependencies' that reflects the broader scope of changes, or add context about the multi-dependency nature of the update.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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 dependabot/go_modules/k8s.io/apimachinery-0.35.0

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

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@go.mod`:
- Line 3: The pipeline is failing because go.mod specifies "go 1.25.0" but CI
uses Go 1.24.11; either update the CI toolchain to a Go version that supports
1.25.0 or change the go.mod version to match the CI (e.g., lower "go 1.25.0" to
"go 1.24" or the exact 1.24.11 used), then re-run the build; locate and edit the
go.mod entry "go 1.25.0" to make the versions consistent with your CI
environment.
- Line 89: Update the indirect gRPC dependency to a patched version by either
adding a direct require for google.golang.org/grpc at v1.79.3 (or later) in
go.mod or by bumping the direct modules that pull it in (e.g., k8s.io/client-go
or sigs.k8s.io/controller-runtime) to versions that themselves require
google.golang.org/grpc >= v1.79.3; after changing go.mod run go get
google.golang.org/grpc@v1.79.3 (or bump the client-go/controller-runtime version
and run go mod tidy) and verify with go list -m all that google.golang.org/grpc
is now >= v1.79.3, then run tests and go vet to ensure no regressions.
- Around line 11-12: The go.mod currently pins k8s.io/apimachinery to v0.35.0
while k8s.io/client-go is v0.34.2, causing an unsupported staging-module version
mismatch; either downgrade k8s.io/apimachinery to v0.34.2 to match client-go
v0.34.2, or upgrade k8s.io/client-go (and all related staging modules such as
k8s.io/api, k8s.io/apiextensions-apiserver, k8s.io/apiserver,
k8s.io/component-base) to v0.35.x so all k8s modules are on the same minor
version—update the module versions in go.mod accordingly and run go mod tidy to
refresh the lock.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 831c1df6-1242-48fe-a101-384be768ce6b

📥 Commits

Reviewing files that changed from the base of the PR and between baa27ee and 8cecf62.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

Comment thread go.mod
module github.com/openstack-lightspeed/operator

go 1.24.6
go 1.25.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify the latest stable Go release and check if 1.25.0 exists
curl -s https://go.dev/dl/?mode=json | jq -r '.[].version' | head -10

Repository: openstack-lightspeed/operator

Length of output: 90


🌐 Web query:

What is the latest stable release of Go? Has Go 1.25.0 been released?

💡 Result:

  • Latest stable Go release: Go 1.26.1 (released 2026-03-05). [1]
  • Has Go 1.25.0 been released? Yes. Go 1.25 was officially released (and 1.25.0 is part of that release series). [2]

Sources:
[1] Go “Release History” page (lists go1.26.1 release date) (go.dev)
[2] Go blog announcement “Go 1.25 is released” (go.dev)

Citations:


Update Go toolchain version or CI environment: pipeline failure due to version mismatch.

The CI pipeline is failing because go.mod requires Go 1.25.0, but the build environment is using Go 1.24.11. Go 1.25.0 is a valid released version, so the issue is that the CI environment needs to be updated to support it, or the go.mod requirement needs to be lowered to match the available toolchain.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 3, The pipeline is failing because go.mod specifies "go
1.25.0" but CI uses Go 1.24.11; either update the CI toolchain to a Go version
that supports 1.25.0 or change the go.mod version to match the CI (e.g., lower
"go 1.25.0" to "go 1.24" or the exact 1.24.11 used), then re-run the build;
locate and edit the go.mod entry "go 1.25.0" to make the versions consistent
with your CI environment.

Comment thread go.mod
Comment on lines +11 to 12
k8s.io/apimachinery v0.35.0
k8s.io/client-go v0.34.2
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check all k8s.io dependencies and their versions
rg -n "k8s\.io/" go.mod | sort

Repository: openstack-lightspeed/operator

Length of output: 813


🌐 Web query:

Is k8s.io/apimachinery v0.35.0 compatible with k8s.io/client-go v0.34.2? What is the Kubernetes version compatibility matrix for these packages?

💡 Result:

No—it’s not a supported/expected combination to use k8s.io/apimachinery v0.35.0 with k8s.io/client-go v0.34.2. client-go v0.34.2 is published together with—and in practice expects—the matching staging libs at the same minor/patch (its go.mod requires k8s.io/apimachinery v0.34.2).[2] Also, apimachinery explicitly states it provides no compatibility guarantees and is meant to track Kubernetes/staging in lockstep.[3]

What versions should match?

Kubernetes tags its staging Go modules so that Kubernetes v1.x.y corresponds to k8s.io/* v0.x.y (same x.y, major stays 0).[1]

Kubernetes version compatibility matrix (client-go ↔ Kubernetes)

From the client-go README compatibility matrix (rows are the client-go tag; columns are the Kubernetes cluster version):[1]

client-go tag Kubernetes cluster versions shown in matrix
v0.29.0 1.29–1.34 (see upstream matrix for ✓/+/− details)
v0.30.0 1.29–1.34
v0.31.0 1.29–1.34
v0.32.0 1.29–1.34
v0.33.0 1.29–1.34
v0.34.0 1.29–1.34

So:

  • client-go v0.34.x ↔ Kubernetes v1.34.x[1]
  • apimachinery v0.35.0 ↔ Kubernetes v1.35.0 (by the same tagging rule: v1.x.yv0.x.y).[1]

Practical guidance

  • If you need client-go v0.34.2, use apimachinery v0.34.2 (and k8s.io/api v0.34.2).[2]
  • If you want apimachinery v0.35.0, bump client-go to v0.35.x as well.

Sources: Kubernetes client-go versioning + compatibility matrix[1], client-go v0.34.2 go.mod dependency on apimachinery v0.34.2[2], apimachinery compatibility statement[3].


Critical: Unsupported Kubernetes dependency version mismatch.

k8s.io/apimachinery v0.35.0 is incompatible with k8s.io/client-go v0.34.2. The client-go package at v0.34.2 is published with and explicitly requires apimachinery v0.34.2. Kubernetes staging modules must remain synchronized across minor/patch versions and provide no cross-version compatibility guarantees.

Both client-go v0.34.x and apimachinery v0.34.2 are aligned for Kubernetes v1.34.x. Using apimachinery v0.35.0 (which targets Kubernetes v1.35.0) will cause runtime failures with client-go v0.34.2.

Fix: Either upgrade k8s.io/client-go and related packages (k8s.io/api, k8s.io/apiextensions-apiserver, k8s.io/apiserver, k8s.io/component-base) to v0.35.x, or revert k8s.io/apimachinery to v0.34.2.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` around lines 11 - 12, The go.mod currently pins k8s.io/apimachinery
to v0.35.0 while k8s.io/client-go is v0.34.2, causing an unsupported
staging-module version mismatch; either downgrade k8s.io/apimachinery to v0.34.2
to match client-go v0.34.2, or upgrade k8s.io/client-go (and all related staging
modules such as k8s.io/api, k8s.io/apiextensions-apiserver, k8s.io/apiserver,
k8s.io/component-base) to v0.35.x so all k8s modules are on the same minor
version—update the module versions in go.mod accordingly and run go mod tidy to
refresh the lock.

Comment thread go.mod
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
google.golang.org/grpc v1.73.0 // indirect
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check for security advisories for grpc-go
gh api graphql -f query='
{
  securityVulnerabilities(first: 5, ecosystem: GO, package: "google.golang.org/grpc") {
    nodes {
      advisory {
        summary
        severity
        publishedAt
      }
      vulnerableVersionRange
      firstPatchedVersion {
        identifier
      }
    }
  }
}'

Repository: openstack-lightspeed/operator

Length of output: 233


🌐 Web query:

What is the patched version for GHSA-p77j-4mvh-x3m3 affecting google.golang.org/grpc v1.73.0? Which direct dependency needs to be updated to resolve this?

💡 Result:

  • Patched version (for google.golang.org/grpc): v1.79.3 (the advisory says affected versions are < 1.79.3). [1]
  • Direct dependency to update to resolve it: update your project’s direct requirement on google.golang.org/grpc to v1.79.3+ (i.e., ensure your root go.mod pulls in google.golang.org/grpc >= 1.79.3). [1]

Sources
[1] GitHub Advisory Database – GHSA-p77j-4mvh-x3m3 (CVE-2026-33186) GHSA-p77j-4mvh-x3m3


🏁 Script executed:

cd . && head -100 go.mod | tail -20

Repository: openstack-lightspeed/operator

Length of output: 1058


🏁 Script executed:

rg "google.golang.org/grpc" go.mod -A 1 -B 1

Repository: openstack-lightspeed/operator

Length of output: 254


🏁 Script executed:

rg "require \(" go.mod -A 50 | head -60

Repository: openstack-lightspeed/operator

Length of output: 2956


🏁 Script executed:

# Check which direct dependency pulls in grpc by checking their go.mod files
# Let's look at the most likely candidates: k8s.io/client-go, sigs.k8s.io/controller-runtime
cd . && grep -E "k8s.io/client-go|sigs.k8s.io/controller-runtime|github.com/openstack-k8s-operators/lib-common" go.mod | grep "require ("

Repository: openstack-lightspeed/operator

Length of output: 55


🏁 Script executed:

# Try to understand the dependency chain by checking the module graph info
# Since we can't run 'go mod graph' which might be slow, let's search for any mentions of how to resolve this
cat go.mod | tail -5

Repository: openstack-lightspeed/operator

Length of output: 274


Update google.golang.org/grpc to v1.79.3 or later to patch critical authorization bypass vulnerability.

google.golang.org/grpc v1.73.0 is vulnerable to GHSA-p77j-4mvh-x3m3 (CVE-2026-33186), a critical authorization bypass via improper handling of :path headers. The patched version is v1.79.3. Since this is an indirect dependency, update the direct dependencies (most likely k8s.io/client-go or sigs.k8s.io/controller-runtime) to versions that require google.golang.org/grpc >= v1.79.3, or add it as a direct requirement.

🧰 Tools
🪛 OSV Scanner (2.3.3)

[CRITICAL] 89-89: google.golang.org/grpc 1.73.0: gRPC-Go has an authorization bypass via missing leading slash in :path

(GHSA-p77j-4mvh-x3m3)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 89, Update the indirect gRPC dependency to a patched version
by either adding a direct require for google.golang.org/grpc at v1.79.3 (or
later) in go.mod or by bumping the direct modules that pull it in (e.g.,
k8s.io/client-go or sigs.k8s.io/controller-runtime) to versions that themselves
require google.golang.org/grpc >= v1.79.3; after changing go.mod run go get
google.golang.org/grpc@v1.79.3 (or bump the client-go/controller-runtime version
and run go mod tidy) and verify with go list -m all that google.golang.org/grpc
is now >= v1.79.3, then run tests and go vet to ensure no regressions.

@umago
Copy link
Copy Markdown
Contributor

umago commented May 27, 2026

/ok-to-test

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 27, 2026

@dependabot[bot]: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/images 8cecf62 link true /test images
ci/prow/ci-index-openstack-lightspeed-bundle 8cecf62 link true /test ci-index-openstack-lightspeed-bundle
ci/prow/openstack-lightspeed-kuttl-4-18 8cecf62 link true /test openstack-lightspeed-kuttl-4-18

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code ok-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants