mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
When the host that runs the OpenShift install is configured with IPv6 only, the kube-apiserver created with envtest would fail as the service-cluster-ip-range would be configured with a default IPv4 CIDR and the public address family, which is the host address, would be configured with an IPv6. This commit fixes the issue by setting a default IPv6 CIDR to service-cluster-ip-range, in case the host has no IPv4 available.