diff --git a/pkg/minikube/cluster/credentials.go b/pkg/minikube/cluster/credentials.go index a45bdc09e7..758cb6e9ac 100644 --- a/pkg/minikube/cluster/credentials.go +++ b/pkg/minikube/cluster/credentials.go @@ -22,8 +22,13 @@ import ( "k8s.io/minikube/pkg/util" ) +var ( + // This is the internalIP the the API server and other components communicate on. + internalIP = net.ParseIP("10.0.0.1") +) + func GenerateCerts(pub, priv string, ip net.IP) error { - ips := []net.IP{ip} + ips := []net.IP{ip, internalIP} if err := util.GenerateSelfSignedCert(pub, priv, ips, util.GetAlternateDNS(util.DNSDomain)); err != nil { return err }