spectrocloud / cluster-api-provider-vsphere-static-ip

Static IP support for CAPV
Apache License 2.0
26 stars 8 forks source link

VSphereMachine Nameservers and SearchDomains should be retrieved from the VSphereMachineTemplate #22

Closed abhinavnagaraj closed 3 years ago

abhinavnagaraj commented 3 years ago

For a VSphereMachine, by default, the list of Nameservers and SearchDomains should be retrieved from the VSphereMachineTemplate (VSphereMachineTemplate.spec.template.spec.network[*].devices[0].searchDomains).

If an IPAM solution also provides a value for the same, that should override the default.