add new addon

pull/7603/head
Alonyb 2020-04-10 14:45:43 -05:00
parent 50c2ec4eaf
commit 428d9ee911
1 changed files with 10 additions and 0 deletions

View File

@ -176,6 +176,16 @@ https://github.com/kubernetes/minikube/issues/7332`, out.V{"driver_name": cc.Dri
return nil
}
if name == "registry" {
port, err := machine.RegisteryPort(host)
if err != nil {
errors.Wrap(err, "cant get Registry port")
}
if runtime.GOOS != "linux" {
fmt.Printf("Your OS should use this port: %s", port)
}
}
cmd, err := machine.CommandRunner(host)
if err != nil {
return errors.Wrap(err, "command runner")