Skip to content

chore (deps) : update controller-runtime to v0.23.1#1568

Open
rohanKanojia wants to merge 3 commits intodevfile:mainfrom
rohankanojia-forks:pr/update-controller-runtime-0-22-4
Open

chore (deps) : update controller-runtime to v0.23.1#1568
rohanKanojia wants to merge 3 commits intodevfile:mainfrom
rohankanojia-forks:pr/update-controller-runtime-0-22-4

Conversation

@rohanKanojia
Copy link
Member

@rohanKanojia rohanKanojia commented Jan 8, 2026

What does this PR do?

This PR updates sigs.k8s.io/controller-runtime from v0.22.1 to v0.23.1, along with corresponding Kubernetes API dependencies to v0.35.0. This is a routine dependency update to ensure the DevWorkspace Operator stays current with the latest stable controller-runtime releases.

What issues does this PR fix or reference?

N/A - This is a routine dependency update for maintenance purposes.

Is it tested? How?

  • Existing unit tests validate compatibility with the updated controller-runtime version
  • The update only modifies go.mod and go.sum files with dependency version changes
  • There is only one breaking change introduced:
    • Existing code of the form builder.WebhookManagedBy(mgr).For(&corev1.Deployment{}) has to be changed to builder.WebhookManagedBy(mgr, &appsv1.Deployment{})

PR Checklist

  • E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)
    • v8-devworkspace-operator-e2e: DevWorkspace e2e test
    • v8-che-happy-path: Happy path for verification integration with Che

@openshift-ci
Copy link

openshift-ci bot commented Jan 8, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link

openshift-ci bot commented Jan 8, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rohanKanojia
Once this PR has been reviewed and has the lgtm label, please assign dkwon17 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

@rohanKanojia
Copy link
Member Author

/ok-to-test

@rohanKanojia
Copy link
Member Author

/retest

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
@rohanKanojia rohanKanojia force-pushed the pr/update-controller-runtime-0-22-4 branch from a4264d3 to 63ba147 Compare March 4, 2026 05:40
@rohanKanojia rohanKanojia changed the title chore (deps) : update controller-runtime to v0.22.4 chore (deps) : update controller-runtime to v0.23.1 Mar 4, 2026
…de to v0.23.1

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
This method arguments were changed in controller-runtime v0.23.0.

Existing code of the form builder.WebhookManagedBy(mgr).For(&corev1.Deployment{}) has to be changed to builder.WebhookManagedBy(mgr, &appsv1.Deployment{})

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
@rohanKanojia rohanKanojia marked this pull request as ready for review March 4, 2026 11:12
@rohanKanojia rohanKanojia requested a review from tolusha March 4, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant