-
Notifications
You must be signed in to change notification settings - Fork 61
chore (deps) : bump controller-runtime to v0.18.7 #1435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
chore (deps) : bump controller-runtime to v0.18.7 #1435
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rohanKanojia The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b6a9bd0
to
f8be1e8
Compare
/ok-to-test |
fd3ece6
to
3367e00
Compare
/ok-to-test |
3367e00
to
4d146d8
Compare
Codecov 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:
|
/ok-to-test |
4d146d8
to
95cf08f
Compare
/ok-to-test |
Signed-off-by: Rohan Kumar <rohaan@redhat.com>
95cf08f
to
d203b5e
Compare
Updated CRD manifests in deploy/ directory to include new requirements in controller-runtime upgrade Signed-off-by: Rohan Kumar <rohaan@redhat.com>
d203b5e
to
74dcefa
Compare
/ok-to-test |
d0fff18
to
1caae53
Compare
Bump devfile/api/v2 dependency to pinned commit as per latest main branch at this time. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
1caae53
to
792275d
Compare
/ok-to-test |
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:
Port
removed from controller Options, we now have to create a separate WebhookServer object and add it to managerAdd new argument
ctx.Context
in Watch handler methodsource.Kind
not available in latest versions anymore, use directly type instead in Watch()MetricsBindAddress no longer available in controller Options, use Metrics object instead.
cache.SelectorsByObject
no longer present in cache package, users are advised to use ByObject inside cache Options insteadcache.BuilderWithOptions
no longer present in controller-runtime, use inline method in return instead.fake.NewFakeClientWithScheme
not available anymore, usefake.NewClientBuilder()
insteadReplace
corev1.ResourceRequirements
withcorev1.VolumeResourceRequirements
Specify finalizers in finalize_test wherever DeletionTimestamp is provided to avoid error thrown by test for missing finalizers
admission.Decoder
is 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-path
to trigger)v8-devworkspace-operator-e2e
: DevWorkspace e2e testv8-che-happy-path
: Happy path for verification integration with Che