Merge pull request #112 from dlorenc/dashbord
Include the cluster local IP. This enables the dashboard to work.pull/115/head
commit
9bfcf74d04
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue