Skip to content

Conversation

@tolusha
Copy link
Contributor

@tolusha tolusha commented Sep 17, 2025

What does this PR do?

  • Update k8s.io/* to v0.34.1
  • Update sigs.k8s.io/controller-runtime to v0.22.1

Screenshot/screencast of this PR

N/A

What issues does this PR fix or reference?

N/A

How to test this PR?

  1. Prepare a patch file if needed:
cat > /tmp/cr-patch.yaml <<EOF
apiVersion: org.eclipse.che/v2
kind: CheCluster
spec: {}
EOF
  1. Deploy the operator:

OpenShift

./build/scripts/olm/test-catalog-from-sources.sh --cr-patch-yaml /tmp/cr-patch.yaml

on Minikube

./build/scripts/minikube-tests/test-operator-from-sources.sh --cr-patch-yaml /tmp/cr-patch.yaml

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@openshift-ci
Copy link

openshift-ci bot commented Sep 17, 2025

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

@tolusha tolusha changed the title Updatecontrollerruntime chore: udate sigs.k8s.io/controller-runtime to v0.22.1 Sep 17, 2025
Signed-off-by: Anatolii Bazko <[email protected]>
Signed-off-by: Anatolii Bazko <[email protected]>
@tolusha tolusha marked this pull request as ready for review September 19, 2025 13:00
client client.Client,
nonCachedClient client.Client,
cli client.Client,
nonCachedCli client.Client,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Umm, not 100% sure whether I have full context...why was this rename necessary? cli could be interpreted as “command-line interface” in many contexts.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will revert


if done, err := s.syncPermissions(ctx); !done {
return reconcile.Result{Requeue: true}, false, err
return reconcile.Result{RequeueAfter: time.Second /**/}, false, err
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo?

Suggested change
return reconcile.Result{RequeueAfter: time.Second /**/}, false, err
return reconcile.Result{RequeueAfter: time.Second}, false, err

DiscoveryClient discovery.DiscoveryInterface
Scheme *runtime.Scheme
Client client.Client // TODO remove
NonCachingClient client.Client // TODO remove
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment for the old Client, NonCachingClient fields might get overlooked over time.
Suggest creating a tracking issue before merging this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will update the comment

@openshift-ci
Copy link

openshift-ci bot commented Sep 20, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rohanKanojia, tolusha

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

Signed-off-by: Anatolii Bazko <[email protected]>
@openshift-ci openshift-ci bot removed the lgtm label Sep 22, 2025
@openshift-ci
Copy link

openshift-ci bot commented Sep 22, 2025

New changes are detected. LGTM label has been removed.

Signed-off-by: Anatolii Bazko <[email protected]>
@tolusha tolusha changed the title chore: udate sigs.k8s.io/controller-runtime to v0.22.1 chore: update sigs.k8s.io/controller-runtime to v0.22.1 Sep 22, 2025
Signed-off-by: Anatolii Bazko <[email protected]>
@tolusha tolusha merged commit 536e4df into main Sep 24, 2025
21 checks passed
@tolusha tolusha deleted the updatecontrollerruntime branch September 24, 2025 07:17
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.

3 participants