-
Notifications
You must be signed in to change notification settings - Fork 143
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
Reduce component reconciler's action verbosity #1388
base: feature-operator-refactor
Are you sure you want to change the base?
Reduce component reconciler's action verbosity #1388
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature-operator-refactor #1388 +/- ##
============================================================
Coverage ? 27.12%
============================================================
Files ? 60
Lines ? 4811
Branches ? 0
============================================================
Hits ? 1305
Misses ? 3354
Partials ? 152 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
deploy.WithLabel(labels.ComponentPartOf, componentsv1.DashboardInstanceName), | ||
)). | ||
WithAction(updatestatus.NewAction( | ||
updatestatus.WithSelectorLabel(labels.ComponentPartOf, componentsv1.DashboardInstanceName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a tangential question - Is there a reason for labels to be components.opendatahub.io/part-of:default-dashboard
instead of components.opendatahub.io/part-of:dashboard
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i guess the question is:
should the value be the name of the component CR or the name of the component kind ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the way we use labels should be cleaned up a little bit :) , so as today we use the instance name because that label is used by predicates and event mapper and some actions but I think the right path would be to:
- use the
Kind
for thepart-of
- add some additional annotations for other stuffs (predicated, mapper, etc)
2706596
to
eee0289
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zdtsw The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
New changes are detected. LGTM label has been removed. |
/test opendatahub-operator-e2e |
Description
How Has This Been Tested?
Screenshot or short clip
Merge criteria