Uh oh!
There was an error while loading. Please reload this page.
chore (deps) : bump controller-runtime to v0.18.7 - #1435
Conversation
Skipping CI for Draft Pull Request. |
b6a9bd0 to
f8be1e8ComparerohanKanojia
commented
May 19, 2025
/ok-to-test |
fd3ece6 to
3367e00ComparerohanKanojia
commented
May 20, 2025
/ok-to-test |
3367e00 to
4d146d8CompareCodecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #1435 +/- ##
==========================================
- Coverage 39.66% 39.61% -0.06%
==========================================
Files 160 160 Lines 13139 13143 +4 ==========================================
- Hits 5211 5206 -5 - Misses 7551 7560 +9
Partials 377 377 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
rohanKanojia
commented
May 20, 2025
/ok-to-test |
4d146d8 to
95cf08fComparerohanKanojia
commented
May 20, 2025
/ok-to-test |
d203b5e to
74dcefaComparerohanKanojia
commented
May 21, 2025
/ok-to-test |
d0fff18 to
1caae53Compare1caae53 to
792275dComparerohanKanojia
commented
May 22, 2025
/ok-to-test |
rohanKanojia
commented
May 26, 2025
/ok-to-test |
792275d to
b4882cbComparerohanKanojia
commented
Jun 16, 2025
/ok-to-test |
dkwon17
commented
Jun 16, 2025
I've accumulated the breaking changes from controller-runtime v0.15.0 to v0.18.0 to help me review this PR: https://gist.github.com/dkwon17/8fd9a8e280ef8b30eedbff6fb345bbbb So far, I have tested:
|
| // Annoying quirk: cache.SelectorsByObject uses an internal struct for values (internal.Selector) | ||
| // so we _can't_ just add Routes here since we cannot initialize the corresponding value. |
There was a problem hiding this comment.
Could we delete this comment?
// Annoying quirk: cache.SelectorsByObject uses an internal struct for values (internal.Selector)
// so we _can't_ just add Routes here since we cannot initialize the corresponding value.
There was a problem hiding this comment.
This comment was added in this PR #652
I'll remove it in next update.
rohanKanojia
commented
Jun 18, 2025
CI is failing due to go build requiring go 1.24 |
4764813 to
2b43767CompareSigned-off-by: Rohan Kumar <rohaan@redhat.com>
Updated CRD manifests in deploy/ directory to include new requirements in controller-runtime upgrade Signed-off-by: Rohan Kumar <rohaan@redhat.com>
Bump devfile/api/v2 dependency to pinned commit as per latest main branch at this time. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
Signed-off-by: Rohan Kumar <rohaan@redhat.com>
2b43767 to
be88965Compare[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dkwon17, rohanKanojia The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
dkwon17
commented
Jun 20, 2025
I've tested that resource caching is working by creating many automount configmaps, with and without the watch-configmap label and observing the memory usage of the Thank you @rohanKanojia , could you please squash and merge this PR? |
What does this PR do?
Bump controller-runtime dependency to v0.18.7
There are lots of changes in controller-runtime since last upgrade. They're listed below:
Portremoved from controller Options, we now have to create a separate WebhookServer object and add it to managerAdd new argument
ctx.Contextin Watch handler methodsource.Kindnot available in latest versions anymore, use directly type instead in Watch()MetricsBindAddress no longer available in controller Options, use Metrics object instead.
cache.SelectorsByObjectno longer present in cache package, users are advised to use ByObject inside cache Options insteadcache.BuilderWithOptionsno longer present in controller-runtime, use inline method in return instead.fake.NewFakeClientWithSchemenot available anymore, usefake.NewClientBuilder()insteadReplace
corev1.ResourceRequirementswithcorev1.VolumeResourceRequirementsSpecify finalizers in finalize_test wherever DeletionTimestamp is provided to avoid error thrown by test for missing finalizers
admission.Decoderis an interface now, previously it was a concrete type.The runtime injection functionality has been deprecated since Controller Runtime 0.10; all of the above fields can be passed from the Manager to structs or interfaces that need them.
Signed-off-by: Rohan Kumar rohaan@redhat.com
What issues does this PR fix or reference?
Related to #1343
Is it tested? How?
PR Checklist
/test v8-devworkspace-operator-e2e, v8-che-happy-pathto trigger)v8-devworkspace-operator-e2e: DevWorkspace e2e testv8-che-happy-path: Happy path for verification integration with Che