cluster-api-provider-vsphere
cluster-api-provider-vsphere copied to clipboard
add configuration that disables DHCP DNS servers
What this PR does / why we need it: DHCP servers can provide DNS servers. This behavior is not always desired. With this setting a user can choose to have only the nameservers they set be used by the VMs. An image must know how to process this metadata field for it to have the desired effect. We have tested this with Ubuntu 20.04 images and netplan does respect this setting.
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 #1582
Special notes for your reviewer: We have manually tested this with Ubuntu 20.04 and Photon-3, there will be some changes needed to the Photon-3 image to write the correct networkd config.
Release note:
Configuration added to allow ignoring the nameservers that DHCP assigns
Welcome @adobley!
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. :smiley:
Hi @adobley. 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.
[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 vincepri for approval by writing /assign @vincepri
in a comment. 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
/ok-to-test
@adobley: The following tests failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
pull-cluster-api-provider-vsphere-verify-lint | 5468d7577ab8ba640a4d07d6530daeecdea888c0 | link | true | /test pull-cluster-api-provider-vsphere-verify-lint |
pull-cluster-api-provider-vsphere-test | 5468d7577ab8ba640a4d07d6530daeecdea888c0 | link | true | /test pull-cluster-api-provider-vsphere-test |
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.
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. I understand the commands that are listed here.
Closing this PR in favor of a different approach in https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/pull/1615