Skip to content
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

nfd-master: update node if no NodeFeature objects are present #999

Merged

Conversation

marquiz
Copy link
Contributor

@marquiz marquiz commented Dec 14, 2022

Correctly handle the case where no NodeFeature objects exist for certain
node (and NodeFeature API has been enabled with
-enable-nodefeature-api). In this case all the labels should be removed.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 14, 2022
@netlify
Copy link

netlify bot commented Dec 14, 2022

Deploy Preview for kubernetes-sigs-nfd ready!

Name Link
🔨 Latest commit 4c955ad
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-nfd/deploys/63a01f4422ffba0008d3a22d
😎 Deploy Preview https://deploy-preview-999--kubernetes-sigs-nfd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 14, 2022
@marquiz
Copy link
Contributor Author

marquiz commented Dec 14, 2022

/assign @fmuyassarov @ArangoGutierrez

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 14, 2022
@marquiz marquiz force-pushed the fixes/nodefeature-missing branch 2 times, most recently from 6868e94 to 80e697d Compare December 14, 2022 19:15
Copy link
Member

@fmuyassarov fmuyassarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm might be asking dump question, but is this patch doing what the title says?

@marquiz
Copy link
Contributor Author

marquiz commented Dec 18, 2022

I'm might be asking dump question, but is this patch doing what the title says?

No it's not a dumb question. But yes it does, I might want to change the wording a bit, though
/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 18, 2022
@marquiz marquiz force-pushed the fixes/nodefeature-missing branch from 80e697d to 8e87645 Compare December 19, 2022 07:46
@marquiz
Copy link
Contributor Author

marquiz commented Dec 19, 2022

Improved the commit message
/retitle nfd-master: update node if no NodeFeature objects are present
/unhold

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 19, 2022
@k8s-ci-robot k8s-ci-robot changed the title nfd-master: update node if NodeFeature objects are removed nfd-master: update node if no NodeFeature objects are present Dec 19, 2022
@marquiz
Copy link
Contributor Author

marquiz commented Dec 19, 2022

@fmuyassarov PTAL. Makes sense(?)

Correctly handle the case where no NodeFeature objects exist for certain
node (and NodeFeature API has been enabled with
-enable-nodefeature-api). In this case all the labels should be removed.
@marquiz marquiz force-pushed the fixes/nodefeature-missing branch from 8e87645 to 4c955ad Compare December 19, 2022 08:22
Copy link
Member

@fmuyassarov fmuyassarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @marquiz . Looks better :)
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 19, 2022
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: c7adefb3e69773eec624c9e8fa92cb7f17a1742e

@k8s-ci-robot k8s-ci-robot merged commit 28a5daa into kubernetes-sigs:master Dec 19, 2022
@marquiz marquiz deleted the fixes/nodefeature-missing branch December 19, 2022 08:40
@marquiz marquiz mentioned this pull request Dec 20, 2022
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants