-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add logic to set the operator's status in the NFD CR #88
Add logic to set the operator's status in the NFD CR #88
Conversation
ac847c4
to
3be6c52
Compare
3be6c52
to
8f595de
Compare
Let's merge #89 first |
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, I think this basically looks good 👍 After #89 is merged just rebase and squash and I think we should be good to go
8989fa7
to
f115fba
Compare
Ready @marquiz |
f115fba
to
5dcc9f6
Compare
/assign@marquiz |
5dcc9f6
to
84fa1b5
Compare
re-re-re-re based |
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.
Hmm, still spotted some oddities. It was now much easier to review as all the unrelated stuff was cleaned away 😄
437f8da
to
6be18b1
Compare
ummm I see failed to rebase, 1 sec |
6be18b1
to
a829c05
Compare
a829c05
to
6f12e13
Compare
/assign @marquiz |
7ffd130
to
4712346
Compare
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.
Looks like you had reverted some of the earlier fixes with the latest push. Also a new bunch of small comments and suggestions. But, overall, I feel that we're getting there and this should be the last review round 😊
0a401e7
to
0d696dc
Compare
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.
nit: I still see a multitude of those stale empty lines around.
After fixing those, I'd suggest to squash the commits and lets get this merged
// getServiceConditions gets the current status of a Service. If an error | ||
// occurs, this function returns the corresponding error message | ||
func (r *NodeFeatureDiscoveryReconciler) getServiceConditions(ctx context.Context) (Status, error) { | ||
|
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.
Still there
0d696dc
to
5bb7c81
Compare
Done |
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.
You hadn't answered to the question about isUpgradeable
, just marked as resolved 🧐
|
||
// Is the resource available, upgradable, etc.? | ||
isAvailable bool | ||
isUpgradeable bool |
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.
/woof
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
totally skipped that comment, sorry, fixing... |
Add logic that sets the operator's status in the NFD CR based on whether one or more of NFD's resources is: degraded, progressing, upgradeable, or available. Also add a "applyComponents" function to simplify readability. Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com> Co-Authored-by: Courtney Pacheco <cpacheco@redhat.com> Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
5bb7c81
to
9b746f6
Compare
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 think it's time
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ArangoGutierrez, marquiz 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 |
This PR rebases on #84