Skip to content

chore(deps): bump k8s.io/* to 0.36.1 + controller-runtime to 0.24.1#70

Merged
Defilan merged 1 commit into
mainfrom
chore/bump-k8s-0.36
Jun 4, 2026
Merged

chore(deps): bump k8s.io/* to 0.36.1 + controller-runtime to 0.24.1#70
Defilan merged 1 commit into
mainfrom
chore/bump-k8s-0.36

Conversation

@Defilan

@Defilan Defilan commented Jun 4, 2026

Copy link
Copy Markdown
Member

What

Consolidates the four individually-opened Dependabot k8s bumps into one consistent upgrade:

Module From To
k8s.io/api 0.35.4 0.36.1
k8s.io/apimachinery 0.35.4 0.36.1
k8s.io/client-go 0.35.4 0.36.1
sigs.k8s.io/controller-runtime 0.23.1 0.24.1

go mod tidy pulls the matching indirect deps (apiextensions-apiserver, apiserver, component-base → 0.36.x; konnectivity-client → 0.34.0).

Why

The k8s.io modules are released in lockstep and controller-runtime 0.24 targets k8s 0.36. Bumping any single module while the others stay at 0.35.4 creates a version skew that fails CI: that's exactly why #62, #63, and #64 were red while #61 (apimachinery, the lowest-level lib) passed alone. They can only go green together, so a single PR is the only mergeable form.

Supersedes and closes:

How

  • go get the four direct modules at the target versions, then go mod tidy.
  • controller-runtime 0.24 deprecated scheme.Builder (SA1019), which the kubebuilder-scaffolded api/v1alpha1/groupversion_info.go still uses. Migrating off it would change every SchemeBuilder.Register(...) call across the *_types.go files, which is out of scope for a dependency bump, so it's a scoped //nolint:staticcheck with an explanatory note pending the upstream scaffold update.

Verification

  • go build ./... clean
  • go vet ./... clean
  • make test (envtest) all packages pass
  • make lint 0 issues

Checklist

  • make test + make lint pass locally
  • Signed off (DCO); conventional commit
  • No API/code changes required by the bump beyond the deprecation note

Consolidates the four individually-opened Dependabot bumps (#61 apimachinery,
#62 controller-runtime, #63 client-go, #64 api) into one consistent upgrade.
Bumping a single k8s.io module while the others stay at 0.35.4 creates version
skew that fails CI, so they must move together:

  k8s.io/api               0.35.4 -> 0.36.1
  k8s.io/apimachinery      0.35.4 -> 0.36.1
  k8s.io/client-go         0.35.4 -> 0.36.1
  sigs.k8s.io/controller-runtime 0.23.1 -> 0.24.1

go mod tidy pulls the matching indirect deps (apiextensions-apiserver,
apiserver, component-base -> 0.36.x). controller-runtime 0.24 deprecated
scheme.Builder, which the kubebuilder-scaffolded api package still uses; scoped
a nolint with a note rather than rewrite scheme registration in a deps bump.

go build, go vet, make test, make lint all pass.

Closes #61
Closes #62
Closes #63
Closes #64

Signed-off-by: Christopher Maher <chris@mahercode.io>
@Defilan
Defilan merged commit aed60b0 into main Jun 4, 2026
5 checks passed
@Defilan
Defilan deleted the chore/bump-k8s-0.36 branch June 4, 2026 07:22
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