-
Notifications
You must be signed in to change notification settings - Fork 268
✨ allow switching from filter.name to id of network and subnets in OSC spec #2518
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
base: main
Are you sure you want to change the base?
✨ allow switching from filter.name to id of network and subnets in OSC spec #2518
Conversation
Hi @okozachenko1203. 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-sigs/prow repository. |
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack 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.
/ok-to-test
Seems safe and ok to me
/lgtm
I think the test failure is due to a typo. It should be capital N in |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@okozachenko1203 do you think we can somehow exercise this in any sort of test to allow validating the change? |
Looking at the tests, I see we can use this here: |
/ok-to-test |
/ok-to-test @okozachenko1203 just FYI, you need to be a member of the kubernetes-sigs GitHub org in order to be able to run that. |
/lgtm |
I'm not against this PR but why don't we also do Subnets and other resources in that case? |
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.
Please squash the commits.
@EmilienM also has a good point. Why do it only for network? We could do this for all resources that follow the same pattern
New changes are detected. LGTM label has been removed. |
45ce3f7
to
417ac30
Compare
What this PR does / why we need it:
This PR allows switching from
spec.network.filter.name
tospec.network.id
in OpenstackCluster webhook.Same for
spec.subnets
.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Special notes for your reviewer:
TODOs:
/hold