Skip to content

chore(deps): Kubernetes 0.36.3 → 0.37.0, controller-runtime 0.24.1 → 0.25.0 - #751

Merged
bpalermo merged 1 commit into
mainfrom
upgrade/go-deps-k8s
Sep 12, 2026
Merged

bpalermo merged 1 commit into
mainfrom
upgrade/go-deps-k8s

Conversation

@bpalermo

@bpalermo bpalermo commented Sep 12, 2026 •

Copy link
Copy Markdown
Owner

Part 5/11 of the 2026-09-12 dependency-upgrade stack (merge bottom → top: gh-actions go-toolchain go-deps-core go-deps-otel go-deps-k8s go-deps-aws bazel-rules bazel-protobuf-36 base-images website-deps go-1.27). Base: upgrade/go-deps-otel. Audit of everything that was checked, including what is already current, is in the bottom PR.

Moves the Kubernetes client surface one minor forward, together with the
controller-runtime release built against it.

  • k8s.io/api v0.36.3 → v0.37.0
  • k8s.io/apimachinery v0.36.3 → v0.37.0
  • k8s.io/client-go v0.36.3 → v0.37.0
  • k8s.io/component-base v0.36.3 → v0.37.0
  • k8s.io/cri-api v0.36.3 → v0.37.0
  • sigs.k8s.io/controller-runtime v0.24.1 → v0.25.0
  • sigs.k8s.io/gateway-api v1.6.1 → v1.6.2

Indirect, pulled up by the above: k8s.io/apiextensions-apiserver v0.36.0 →
v0.37.0, k8s.io/streaming v0.36.3 → v0.37.0, k8s.io/kube-openapi,
k8s.io/utils, github.com/google/cel-go v0.28.0 → v0.29.2,
sigs.k8s.io/structured-merge-diff/v6 v6.4.0 → v6.4.2.
sigs.k8s.io/e2e-framework (v0.7.0) and sigs.k8s.io/mcs-api (v0.5.2) were
not moved — tidy did not require it.

Version skew: talos-main runs Kubernetes v1.36.1, so a v0.37 client is
exactly one minor ahead of the API server. That is inside the supported
client/server skew window (a client may be one minor newer than the
server), and nothing in this repo uses an API introduced in 1.37.

No call-site changes were needed for controller-runtime v0.25.0. Its one
breaking item — the new EventRecorder interface in pkg/recorder — is
unused here (the CNI ghost-sweep path deliberately creates corev1.Event
objects through the client rather than through a recorder, see
agent/internal/cni/server/ghostsweep.go). The v0.25 additions
(EnableReadYourWritesConsistency, fakeclient
WithGlobalResourceVersionCounter, source.TypedInformer, webhook port -1)
are all opt-in.

Gateway API CRD / conformance pins moved with the Go module so the
compiled types, the installed CRDs and the conformance suite stay in
lockstep: GATEWAY_API_VERSION in .github/workflows/e2e.yaml and
GWAPI_VERSION in e2e/uds.sh, e2e/multicluster_config.sh,
e2e/multicluster_replicator.sh and e2e/multicluster_waypoint.sh are all
v1.6.1 → v1.6.2. No chart carries Gateway API CRDs, so no Chart.yaml bump
is implied.

Verified (all with --repo_env=GOPROXY=https://proxy.golang.org,direct):

  • bazel build //... OK
  • bazel test //... --test_output=errors OK (99/99 pass)
  • bazel run //:format.check OK
  • bazel build --config=lint //... OK
  • bazel mod tidy / bazel run //:gazelle clean (no MODULE.bazel use_repo or
    BUILD.bazel churn)

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

@bpalermo
bpalermo added this pull request to stack #757 September 12, 2026 17:19
Base automatically changed from upgrade/go-deps-otel to main September 12, 2026 19:16
…0.25.0

Moves the Kubernetes client surface one minor forward, together with the
controller-runtime release built against it.

- k8s.io/api                    v0.36.3 → v0.37.0
- k8s.io/apimachinery           v0.36.3 → v0.37.0
- k8s.io/client-go              v0.36.3 → v0.37.0
- k8s.io/component-base         v0.36.3 → v0.37.0
- k8s.io/cri-api                v0.36.3 → v0.37.0
- sigs.k8s.io/controller-runtime v0.24.1 → v0.25.0
- sigs.k8s.io/gateway-api        v1.6.1  → v1.6.2

Indirect, pulled up by the above: k8s.io/apiextensions-apiserver v0.36.0 →
v0.37.0, k8s.io/streaming v0.36.3 → v0.37.0, k8s.io/kube-openapi,
k8s.io/utils, github.com/google/cel-go v0.28.0 → v0.29.2,
sigs.k8s.io/structured-merge-diff/v6 v6.4.0 → v6.4.2.
sigs.k8s.io/e2e-framework (v0.7.0) and sigs.k8s.io/mcs-api (v0.5.2) were
not moved — tidy did not require it.

Version skew: talos-main runs Kubernetes v1.36.1, so a v0.37 client is
exactly one minor ahead of the API server. That is inside the supported
client/server skew window (a client may be one minor newer than the
server), and nothing in this repo uses an API introduced in 1.37.

No call-site changes were needed for controller-runtime v0.25.0. Its one
breaking item — the new `EventRecorder` interface in pkg/recorder — is
unused here (the CNI ghost-sweep path deliberately creates corev1.Event
objects through the client rather than through a recorder, see
agent/internal/cni/server/ghostsweep.go). The v0.25 additions
(EnableReadYourWritesConsistency, fakeclient
WithGlobalResourceVersionCounter, source.TypedInformer, webhook port -1)
are all opt-in.

Gateway API CRD / conformance pins moved with the Go module so the
compiled types, the installed CRDs and the conformance suite stay in
lockstep: GATEWAY_API_VERSION in .github/workflows/e2e.yaml and
GWAPI_VERSION in e2e/uds.sh, e2e/multicluster_config.sh,
e2e/multicluster_replicator.sh and e2e/multicluster_waypoint.sh are all
v1.6.1 → v1.6.2. No chart carries Gateway API CRDs, so no Chart.yaml bump
is implied.

Verified (all with --repo_env=GOPROXY=https://proxy.golang.org,direct):
- bazel build //...                     OK
- bazel test //... --test_output=errors OK (99/99 pass)
- bazel run //:format.check             OK
- bazel build --config=lint //...       OK
- bazel mod tidy / bazel run //:gazelle clean (no MODULE.bazel use_repo or
  BUILD.bazel churn)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo merged commit a2d72e1 into main Sep 12, 2026
18 checks passed
@bpalermo
bpalermo deleted the upgrade/go-deps-k8s branch September 12, 2026 20:33
bpalermo added a commit that referenced this pull request Sep 20, 2026
…859) (#862)

gateway-api v1.6.2 deleted the `running = false` block at the tail of
ConformanceTestSuite.Run() and replaced it with a t.Cleanup registered
inside Run. Report() is unchanged and still refuses while that flag is
set. So calling Report() from the test body right after Run() returns --
which is what this runner did -- now fails deterministically with
"can't generate report: the test suite is currently running", whatever
the per-test outcomes were, and no report artifact is produced.

That is the whole of the nightly mesh-http/gateway-http failure since
2026-09-13, when #751 bumped GATEWAY_API_VERSION v1.6.1 -> v1.6.2:
gateway-http has zero failing subtests and still reports --- FAIL.

Register the report write as a cleanup BEFORE Run. Cleanups are LIFO, so
ours lands after the suite's own: `running` is clear, and -- a second,
latent bug -- every parallel subtest has actually finished, which the old
call site never waited for. Record failures with Errorf rather than
require, since a FailNow inside a cleanup would skip the suite's
base-resource teardown.

Verified by copying the runner into a [email protected] checkout, as CI
does, and running `go vet -tags conformance`.

Fixes #859


Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Co-authored-by: Claude Opus 5 <[email protected]>
bpalermo added a commit that referenced this pull request Oct 4, 2026
…> 0.25.2 (#1213)

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.


Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Co-authored-by: Claude Fable 5.1 <[email protected]>
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