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
🌱 Make IPAddressClaim.Status.AddressRef optional #8493
🌱 Make IPAddressClaim.Status.AddressRef optional #8493
Conversation
|
Welcome @christianang! |
Hi @christianang. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
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.
/ok-to-test
@killianmuldoon can this improvement be backported to the 1.4 release as well? |
/lgtm |
LGTM label has been added. Git tree hash: 5955bca3941dac7bf5c36b64ee54abcc9ccbbb97
|
/lgtm @srm09 For me yes - this is an experimental API type so changes like this are definitely inside CAPI's backporting policy - https://cluster-api.sigs.k8s.io/contributing#backporting-a-patch |
to be able to set conditions on the claim without setting the addressRef, in the case of failure. Signed-off-by: Christian Ang <angc@vmware.com>
6020bb4
to
ad1c23d
Compare
/lgtm |
LGTM label has been added. Git tree hash: 6078d21cac7fef6eeb3531ebc796ee406c24cee4
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini 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 |
I think backporting is fine. This is pretty much a bugfix to me
|
/cherry-pick release-1.4 |
/cherry-pick release-1.3 |
@sbueringer: new pull request created: #8530 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. |
@sbueringer: new pull request created: #8531 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. |
/area ipam |
What this PR does / why we need it:
This PR makes the
addressRef
on the IPAddressClaim status optional. This allows us to set thecondition
on the IPAddressClaim status without setting theaddressRef
in the case of failure to allocate an IPAddress.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):This is related to #8424.