mirror of https://github.com/kubernetes/kops.git
WIP: Need to publish IPv4 DNS records
On GCE the Node's IPv6 record is not published, so we need the IPv4 record.
This commit is contained in:
parent
9816fd9416
commit
f80a66903b
|
@ -633,6 +633,10 @@ func (tf *TemplateFunctions) DNSControllerArgv() ([]string, error) {
|
|||
|
||||
if cluster.Spec.IsIPv6Only() {
|
||||
argv = append(argv, "--internal-ipv6")
|
||||
// We need IPv4 on GCE, because we aren't publishing IPv6 Node IPs on GCE yet
|
||||
if cluster.Spec.GetCloudProvider() == kops.CloudProviderGCE {
|
||||
argv = append(argv, "--internal-ipv4")
|
||||
}
|
||||
} else {
|
||||
argv = append(argv, "--internal-ipv4")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue