-
Notifications
You must be signed in to change notification settings - Fork 261
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 support to set allocation_pools
for subnet
#1847
✨ Add support to set allocation_pools
for subnet
#1847
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This doesn't feel right. I was already wondering if Thoughts? cc @MaysaMacedo |
IMO life would be beautiful if we converted |
Another advantage of defining a SubnetSpec struct is that it would be extensible in v1beta1. |
this is useful in my openstack implementation especially 2 networks are in same CIDR with different allocation pool |
Just sharing what was discussed on the slack thread, having multiple SubnetSpec make sense to me, it would be good to name the field to something more representative of its content. |
8e64c5d
to
7734f95
Compare
This should be only merged once #1856 is in. |
dc8e49b
to
cf8e814
Compare
cf8e814
to
adfc149
Compare
please rebase on main |
adfc149
to
b295de7
Compare
@dulek I rebased this for you, btw. No conflicts. |
Thanks! |
b295de7
to
2523a61
Compare
@dulek is on vacation, I'll take care of rebase. |
2523a61
to
11b56c9
Compare
/lgtm |
11b56c9
to
92dce2d
Compare
/cc MaysaMacedo |
/lgtm |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dulek, jichenjc 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 |
This commit adds API that allows users to set `allocations_pools` in the subnet created by CAPO. This allows the users to restrict the IP address ranges that will be allocated automatically by OpenStack when creating Machines. Users can utilize this to reserve addresses for VIPs (virtual IPs) or special nodes that will have predefined addresses and will be created later.
92dce2d
to
ccfcb59
Compare
/lgtm |
/hold cancel |
What this PR does / why we need it:
This commit adds API that allows users to set
allocations_pools
in the subnet created by CAPO. This allows the users to restrict the IP address ranges that will be allocated automatically by OpenStack when creating Machines.Users can utilize this to reserve addresses for VIPs (virtual IPs) or special nodes that will have predefined addresses and will be created later.
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 #
Special notes for your reviewer:
TODOs:
/hold