Add DeviceClass watch to DRA reconciler#1288
Conversation
✅ Deploy Preview for kubernetes-sigs-kmm ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: TomerNewman 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 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1288 +/- ##
==========================================
- Coverage 79.09% 73.50% -5.59%
==========================================
Files 51 67 +16
Lines 5109 4990 -119
==========================================
- Hits 4041 3668 -373
- Misses 882 1153 +271
+ Partials 186 169 -17 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
26a28fa to
78fa1ae
Compare
| ) | ||
| } | ||
|
|
||
| func deviceClassToModuleReconcileRequest(_ context.Context, obj client.Object) []reconcile.Request { |
There was a problem hiding this comment.
lets move it to filter also
78fa1ae to
1191ccf
Compare
Watch DeviceClass resources so the controller reacts to external drift (e.g. manual deletion). Uses filter.HasLabel predicate to only process KMM-managed DeviceClasses. Also adds list, watch, and deletecollection RBAC verbs for the deviceclasses resource.
1191ccf to
0963150
Compare
|
/lgtm |
Watch DeviceClass resources so the controller reacts to external drift (e.g. manual deletion). Uses filter.HasLabel predicate to only process KMM-managed DeviceClasses. Also adds list, watch, and deletecollection RBAC verbs for the deviceclasses resource.
/cc @yevgeny-shnaidman
/assign @yevgeny-shnaidman