Skip to content
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 the conditional on ipv6 #2397

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

ekarlso
Copy link
Contributor

@ekarlso ekarlso commented Sep 26, 2023

Signed-off-by: ekarlso [email protected]

What this PR does / why we need it:

Edit: This allows to use IPAM together with ipv4 ippools which do not define a gateway (special airgapped scenario).

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 #2396

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 26, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: ekarlso / name: Endre Karlson (43bf20b)

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Sep 26, 2023
@k8s-ci-robot
Copy link
Contributor

Welcome @ekarlso!

It looks like this is your first PR to kubernetes-sigs/cluster-api-provider-vsphere 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/cluster-api-provider-vsphere has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Sep 26, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @ekarlso. 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.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 26, 2023
Copy link
Contributor

@zhanggbj zhanggbj left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!
Just one nit, as we want to make Gateway optional for both IPv4 and IPv6, could you please also update the comment in L55 to make it consistent. Thanks!

@zhanggbj
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 27, 2023
@zhanggbj
Copy link
Contributor

Hi @ekarlso, please also sign the CLA, you could follow the guide above :-)

@chrischdi
Copy link
Member

This is for #2396

@killianmuldoon
Copy link
Contributor

/retitle 🐛 Remove the conditional on ipv6

@k8s-ci-robot k8s-ci-robot changed the title Remove the conditional on ipv6 #2396 🐛 Remove the conditional on ipv6 Sep 27, 2023
@chrischdi
Copy link
Member

This PR also needs to fix the relevant tests :-)

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Oct 3, 2023
@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (ed46a47) 60.87% compared to head (43bf20b) 61.07%.
Report is 27 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2397      +/-   ##
==========================================
+ Coverage   60.87%   61.07%   +0.19%     
==========================================
  Files         164      163       -1     
  Lines        9473     9435      -38     
==========================================
- Hits         5767     5762       -5     
+ Misses       3293     3261      -32     
+ Partials      413      412       -1     
Files Coverage Δ
pkg/services/govmomi/ipam/parse.go 100.00% <100.00%> (ø)

... and 24 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chrischdi
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 4, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 0f6c990845677f45f0237b382d899c41b1fa957c

Copy link
Contributor

@killianmuldoon killianmuldoon left a comment

Choose a reason for hiding this comment

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

Thanks!

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: killianmuldoon

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 4, 2023
@killianmuldoon
Copy link
Contributor

Should we backport this to 1.8 / 1.7?

@chrischdi
Copy link
Member

Should we backport this to 1.8 / 1.7?

I was thinking about that too. Would make sense to me to do so. It reduces the restrictions on the field so it should be okay?!

@k8s-ci-robot k8s-ci-robot merged commit f386f78 into kubernetes-sigs:main Oct 4, 2023
17 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.9 milestone Oct 4, 2023
@killianmuldoon
Copy link
Contributor

/cherry-pick release-1.8

@killianmuldoon
Copy link
Contributor

/cherry-pick release-1.7

@killianmuldoon
Copy link
Contributor

Yeah - absolutely fine with backporting this as a bug.

@k8s-infra-cherrypick-robot

@killianmuldoon: failed to push cherry-picked changes in GitHub: pushToNamedFork is not implemented in the v2 client

In response to this:

/cherry-pick release-1.8

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.

@k8s-infra-cherrypick-robot

@killianmuldoon: failed to push cherry-picked changes in GitHub: pushToNamedFork is not implemented in the v2 client

In response to this:

/cherry-pick release-1.7

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.

@killianmuldoon
Copy link
Contributor

/cherry-pick release-1.7

@k8s-infra-cherrypick-robot

@killianmuldoon: failed to push cherry-picked changes in GitHub: pushToNamedFork is not implemented in the v2 client

In response to this:

/cherry-pick release-1.7

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.

@killianmuldoon
Copy link
Contributor

killianmuldoon commented Oct 4, 2023

@chrischdi - looks like we might have an issue with the cherrypick bot 🤔

I've opened an issue over at test infra (kubernetes/test-infra#30937)

@killianmuldoon
Copy link
Contributor

/cherry-pick release-1.7

@killianmuldoon
Copy link
Contributor

/cherry-pick release-1.8

@k8s-infra-cherrypick-robot

@killianmuldoon: failed to push cherry-picked changes in GitHub: pushToNamedFork is not implemented in the v2 client

In response to this:

/cherry-pick release-1.7

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.

@k8s-infra-cherrypick-robot

@killianmuldoon: failed to push cherry-picked changes in GitHub: pushToNamedFork is not implemented in the v2 client

In response to this:

/cherry-pick release-1.8

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.

@chrischdi
Copy link
Member

/cherry-pick release-1.8

@k8s-infra-cherrypick-robot

@chrischdi: new pull request created: #2424

In response to this:

/cherry-pick release-1.8

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.

@chrischdi
Copy link
Member

/cherry-pick release-1.7

@k8s-infra-cherrypick-robot

@chrischdi: new pull request created: #2425

In response to this:

/cherry-pick release-1.7

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IPAddress Gateway should be concidered optional
6 participants