cluster-api-provider-aws
cluster-api-provider-aws copied to clipboard
✨ feat: create vpc objects in explicitly provided availability zones
What type of PR is this?
/kind feature
What this PR does / why we need it:
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 #4333, continues the work started by @Skarlso in this PR by:
- moving the defaults for
AvailabilityZoneSelectionandAvailabilityZoneUsageLimitinto defaulting webhooks instead of CRDs - adding check in validating webhooks for conflicting use of
AvailabilityZoneUsageLimitandAvailabilityZoneSelectionwithAvailabilityZones
Special notes for your reviewer:
Checklist:
- [x] squashed commits
- [ ] includes documentation
- [x] includes emojis
- [x] adds unit tests
- [ ] adds or updates e2e tests
Release note:
Ability to specify Availability Zones from spec.network.vpc in AWSManagedControlPlane, AWSCluster and AWSClusterTemplate CRDs.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign justinsb for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Hi @synthe102. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
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.
/ok-to-test
@AndiDog Thanks a lot for this initial review. I addressed all your comments, all the tests are OK so far.
/test pull-cluster-api-provider-aws-verify
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign neolit123 for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
@AndiDog Thanks for the review ! PR is rebased and I added your suggestions.
/lgtm
Hi @AndiDog anyone can take a look at this PR? Looking for another /approve.
Hi @AndiDog giving this a bump if anyone can take a look at this PR? Looking for another /approve.