Skip to content

chore: Bump sigs.k8s.io/controller-runtime and fix issues#424

Open
tomasaschan wants to merge 5 commits intomasterfrom
bump-and-fix-3
Open

chore: Bump sigs.k8s.io/controller-runtime and fix issues#424
tomasaschan wants to merge 5 commits intomasterfrom
bump-and-fix-3

Conversation

@tomasaschan
Copy link
Copy Markdown
Member

@tomasaschan tomasaschan commented Feb 12, 2026

What this PR does / why we need it:
This updates the library to support recent versions of sigs.k8s.io/controller-runtime and k8s.io/*. We need this in order to perform version bumps of those libraries in our operator projects that also reference KDP.

In modern sigs.k8s.io/controller-runtime, the client takes advantage of the new WatchList request, so the mockkubeapiserver has been extened with support for this (thanks, Cursor!) and the golden test expectations updated to match the new behavior.

We also tag a new release to be able to use these improvements without pinning a commit. The version number is chosen to match the versioning strategy but as discussed in #407 we don't release any intermediate versions here; we can go back and do that retroactively if anyone asks for it.

This is a re-do of #422 due to weird branch protection.

Which issue(s) this PR fixes:
Fixes #407
Closes #422
Closes #423

Special notes for your reviewer:

Don't be scared by the +/- stats; ignoring changes to go.mod/go.sum/go.work/go.work.sum and http expectation logs, which are all very much generated, the diff is more like +50/-10.

Additional documentation:

This bumps these dependencies to the latest versions,
keeping them in sync with each other. The update in
validator.go is to adjust to a renamed function in
k8s.io/apimachinery.
New controller-runtime versions take advantage of WatchList which removes the initial List request.
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tomasaschan

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

The pull request process is described 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

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 12, 2026
@tomasaschan
Copy link
Copy Markdown
Member Author

Any chance you of getting this merged?

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Time to cut a new release?

4 participants