Skip to content

chore(deps): Kubernetes 0.37.0 -> 0.37.1, controller-runtime 0.25.0 -> 0.25.2 - #1213

Merged
bpalermo merged 2 commits into
mainfrom
deps/go-k8s
Oct 4, 2026
Merged

bpalermo merged 2 commits into
mainfrom
deps/go-k8s

Conversation

@bpalermo

@bpalermo bpalermo commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Go modules cohort — Kubernetes group

Module Current New
k8s.io/api v0.37.0 v0.37.1
k8s.io/apimachinery v0.37.0 v0.37.1
k8s.io/client-go v0.37.0 v0.37.1
k8s.io/cri-api v0.37.0 v0.37.1
k8s.io/apiextensions-apiserver (indirect) v0.37.0 v0.37.1
k8s.io/component-base (indirect) v0.37.0 v0.37.1
k8s.io/streaming (indirect) v0.37.0 v0.37.1
sigs.k8s.io/controller-runtime v0.25.0 v0.25.2

MVS also moves k8s.io/apiserver and k8s.io/kms (not listed in go.mod) to v0.37.1.

Release notes read

  • Kubernetes v1.37.1 (CHANGELOG-1.37) — patch release, bug fixes only; the client libraries follow it.
  • controller-runtime v0.25.1: priorityqueue data-race fix; subresource-create RV parse fix under read-your-writes.
  • controller-runtime v0.25.2: SubResourceCreateOptions.ApplyToSubResourceCreate fix; opt-in metrics handler options; a read-your-writes wait-duration metric; docs.

No breaking changes; no call-site changes. Same minor, so client/server skew against talos-main is unchanged.

How the go.mod was edited

bazel run @rules_go//go -- get k8s.io/[email protected] … sigs.k8s.io/[email protected]. Per docs/runbook.md "Go dependency hygiene": the // indirect markers the rules_go wrapper strips ("Marking requested modules as direct") were put back by hand on apiextensions-apiserver / component-base / streaming, and the extra // indirect lines go get adds for modules MVS already selects at the same version (cel-go, gziphandler, konnectivity-client, apiserver, kms, …) were not kept — the same go.mod shape as #751. make deps-audit confirms go.sum and requires are consistent.

Guarded binaries (linux/amd64, bytes / modules in build info)

Binary Before After
agent 68,894,604 / 104 68,898,700 / 104
registrar 57,645,836 / 103 57,654,060 / 103
controller 60,653,452 / 97 60,661,708 / 97
proxy-supervisor, proxy-ready, agent-ready, mesh-dns-ready, identity-ready, uds-csi, mesh-dns, cni, cni-install, prober unchanged unchanged (byte-identical sizes)

No guard allow-list touched.

Commands run (all green)

bazel mod tidy                                                                 # no MODULE.bazel change
bazel run //:gazelle                                                           # no BUILD change
bazel build //... //test/e2e:e2e_test
bazel test --test_output=errors //...                                          # 187/187 pass
bazel test --config=race <16 go_test targets under //controller/... //registrar/... //agent/internal/{cni,gamma,node}/...>   # 16/16 pass
bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //...  # OK
make format-check                                                              # exit 0
make deps-audit                                                                # go-deps-audit: OK

Merge order

Independent of the other cohorts. The Go-module PRs (this, OTel, gRPC/protobuf, golang.org/x, misc) each branch from main; whichever lands later may need a mechanical go.sum rebase.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

…> 0.25.2

Patch releases of the Kubernetes client surface, moved together:

  k8s.io/api, apimachinery, client-go, cri-api   v0.37.0 -> v0.37.1
  k8s.io/apiextensions-apiserver, component-base,
  streaming (indirect)                           v0.37.0 -> v0.37.1
  sigs.k8s.io/controller-runtime                 v0.25.0 -> v0.25.2

Via `bazel run @rules_go//go get`; the `// indirect` markers it strips
were put back and the extra indirect lines it adds for modules MVS
already selects at the same version were not kept (same go.mod shape
as #751). No call-site changes.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo merged commit 6650b4d into main Oct 4, 2026
24 checks passed
@bpalermo
bpalermo deleted the deps/go-k8s branch October 4, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant