Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

VSphereCPI exposes node IP exclude CIDRs #2765

Merged

Conversation

adobley
Copy link
Contributor

@adobley adobley commented Jan 4, 2022

What this PR does / why we need it

Exposes a feature of VSphereCPI to exclude Node IPs from configured CIDRs

Details for the Release Notes (PLEASE PROVIDE)

VSphereCPI can be configured to exclude Node IPs from configured CIRDs

Describe testing done for PR

The code changes have been tested upstream.
We added template tests to cover the different configuration cases.

Special notes for your reviewer

This is in draft while we await the release of a cloud-provider-vsphere with our changes. When that is available we will update the go.mod and vendir in the new version.

@github-actions github-actions bot added the owner/packages Work executed by a package's maintainer label Jan 4, 2022
@adobley adobley force-pushed the expose-vsphere-cpi-exclude-ips branch from 549d0ea to e1bf276 Compare January 4, 2022 22:36
@christianang christianang force-pushed the expose-vsphere-cpi-exclude-ips branch 2 times, most recently from f225026 to 9b9f193 Compare January 12, 2022 21:46
@christianang christianang marked this pull request as ready for review January 12, 2022 21:48
@christianang christianang requested a review from a team as a code owner January 12, 2022 21:48
lubronzhan
lubronzhan previously approved these changes Jan 12, 2022
Copy link
Contributor

@lubronzhan lubronzhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
Thanks for adding the tests!

VSphereCPI can be configured to not assign Node IPs from configured
CIDRs

Backfill template unit tests for neighboring configuration vars

Signed-off-by: Aidan Obley <aobley@vmware.com>
Co-authored-by: Tyler Schultz <tschultz@vmware.com>
Co-authored-by: Christian Ang <angc@vmware.com>
@christianang christianang merged commit 20dc640 into vmware-tanzu:main Jan 13, 2022
@christianang christianang deleted the expose-vsphere-cpi-exclude-ips branch January 13, 2022 00:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-not-required owner/packages Work executed by a package's maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants