-
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
Remove subnet, first and last from the pool spec and create v1alpha2 Pool #123
Remove subnet, first and last from the pool spec and create v1alpha2 Pool #123
Conversation
35277ad
to
1ee66b5
Compare
1ee66b5
to
a8f53f8
Compare
@schrej I have rebased this PR and included the new changes from the pool PR. This should be ready for review. We will probably serialize PRs a bit and leave the other PRs alone until this one is merged to avoid multiple rebases since this PR is fairly significant. |
d149cf1
to
c8d841c
Compare
c8d841c
to
fa7db20
Compare
fa7db20
to
ab5ea9b
Compare
8d16f7a
to
add02df
Compare
- removes subnet, first, and last from the pool spec - add new converstion webhook for v1alpha1 to v1alpha2 pools Co-authored-by: Christian Ang <[email protected]> Co-authored-by: Aidan Obley <[email protected]> Co-authored-by: Tyler Schultz <[email protected]>
add02df
to
e14ee8b
Compare
/lgtm Thank you! And sorry that this was a bit slow, lost track of it at some point. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianang, 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 |
Following what was discussed in #71. This PR removes subnet, first, and last from the pool spec in favor of a user using the new addresses field.
This PR will support a new v1alpha2 version for the InClusterIPPool and GlobalInClusterIPPool. In addition it will convert v1alpha1 resources to v1alpha2 resource using a conversion webhook. First and Last will be converted to use an addresses range in the new pool spec.
The controller and default/validation webhooks are configured to only support v1alpha2 pools and it is expected that the conversion webhook will convert v1alpha1 resources to v1alpha2 beforehand.
We have also added conversion-gen to the Makefile to support future conversions.
Fixes #71