-
Notifications
You must be signed in to change notification settings - Fork 967
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
fix: re-reconcile the nodeclass status #7305
base: main
Are you sure you want to change the base?
fix: re-reconcile the nodeclass status #7305
Conversation
✅ Deploy Preview for karpenter-docs-prod ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Thanks for the change! Looks good. Just a couple comments
return reconcile.Result{}, nil | ||
// If users have omitted the necessary tags and later add them, we need to reprocess the information. | ||
// Returning 'ok' in this case means that the nodeclass will remain in an unready state until the component is restarted. | ||
return reconcile.Result{RequeueAfter: 15 * time.Second}, nil |
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.
Should we add a test for each of these reconcilers to ensure that we don't return an empty result and instead return a RequeueAfter value?
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.
im not sure if we need the test, how do u think? if its required?
Pull Request Test Coverage Report for Build 11604399987Details
💛 - Coveralls |
294042e
to
e3a509a
Compare
@jmdeal @jonathan-innis hi, can u help me review again, i have resolve the comments, thank u! |
This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity. |
Signed-off-by: Vacant2333 <[email protected]>
e3a509a
to
12f3328
Compare
Fixes #N/A
Description
if users omit the necessary tags and later add them, we need to reprocess the information
How was this change tested?
Does this change impact docs?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.