-
Notifications
You must be signed in to change notification settings - Fork 24
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 reconciler watch for when pool capacity becomes available #253
🐛 Add reconciler watch for when pool capacity becomes available #253
Conversation
17193ac
to
87185c3
Compare
|
||
// Sleep 5 seconds to give the reconciler time to stop retrying | ||
// on the newly created claim. | ||
time.Sleep(5 * time.Second) |
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.
not ideal, but I guess there is no other way
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 didn't want to add this either but it wouldn't reproduce the issue otherwise.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flawedmatrix, schrej 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 |
Will need to be rebased after #250 is in for the tests to pass. |
Signed-off-by: Edwin Xie <[email protected]>
Signed-off-by: Edwin Xie <[email protected]>
And explicitly do not check return value in test function deleteClaimUnchecked Signed-off-by: Edwin Xie <[email protected]>
9316cfc
to
794ebb2
Compare
/lgtm |
What this PR does / why we need it:
This PR adds a watch to the IPAddressClaim reconciler to allow it to progress claims that are still waiting for an available IP address when free addresses become available in the pool. It accomplishes this by adding a predicate only in the case where Free addresses in the Pool status are increased from 0.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #179