-
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
✨ Support BYO dual-stack Network #1789
✨ Support BYO dual-stack Network #1789
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hi @MaysaMacedo. 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. |
This looks great. Do you want to consider NodeCIDR -> NodeCIDRs at the same time for non-BYO? |
/ok-to-test @MaysaMacedo You may want to apply to join the SIG so you don't need this. |
98e4e82
to
05e7fe7
Compare
05e7fe7
to
477e180
Compare
a47fc3c
to
600a05b
Compare
/uncc seanschneeweiss |
a8610cf
to
152dfbd
Compare
@@ -383,6 +383,15 @@ func Convert_v1alpha7_OpenStackClusterSpec_To_v1alpha8_OpenStackClusterSpec(in * | |||
} | |||
} | |||
|
|||
emptySubnet := SubnetFilter{} |
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.
I think it's ok but I'll tag @mdbooth on this one, he might think it's not the right way to do it.
Also, please run |
7006019
to
7f94159
Compare
/test pull-cluster-api-provider-openstack-e2e-full-test |
This looks good to me, let's see how the Nice work :-) |
I couldn't understand how the conversion tests were passing without any change to the restore functions. I expected the hub->spoke->hub (e.g. v1alpha8->v1alpha7->v1alpha8) tests to fail, because when converting a slice of length 2 to a single value and back we obviously lose the second value. It turns out that the fuzzer was not generating slices of length 2, so I made a change to the relevant fuzzerfuncs to ensure that it does. I've added 3 commits:
For convenience I pushed them directly, but please review and squash them into your other commits as appropriate. I haven't finished reviewing yet, btw. |
Looks good. Can you take a look at the commits I added (feel free to implement them differently!) and squash them as appropriate, and also Emilien's unit tests. Thanks! |
c543865
to
a3caf3b
Compare
This commit adds support to specify more than one existent subnet on the `OpenStackCluster`. The existent `OpenStackClusterSpec.Subnet` is removed in favor of `OpenStackClusterSpec.Subnets`. Co-Authored-By: Emilien Macchi <[email protected]>
This commit adds a section to the book explaining the modification of the `OpenStackClusterSpec.Subnet` API field.
a3caf3b
to
2ef8ee5
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MaysaMacedo, mdbooth 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 |
Sure, I can start taking a look. Note that this PR only creates dual-stack servers, there is no support for IPv6 SGs or API with IPv6. Would that be enough for the CI? |
/lgtm Nice work Maysa! |
/test pull-cluster-api-provider-openstack-e2e-full-test |
/hold cancel |
What this PR does / why we need it:
This commit adds support to specify more than one existent subnet on the
OpenStackCluster
.The existent
OpenStackClusterSpec.Subnet
field that would have the following format:is removed in favor of the following
OpenStackClusterSpec.Subnets
:conversion from v1 alpha8 clusters that use multiple subnets won't be allowed to older releases.
TODOs: