added check for enabled registry addon
parent
fe94d18c49
commit
e2acd0d657
|
@ -198,7 +198,9 @@ https://github.com/kubernetes/minikube/issues/7332`, out.V{"driver_name": cc.Dri
|
|||
if err != nil {
|
||||
return errors.Wrap(err, "registry port")
|
||||
}
|
||||
if enable {
|
||||
out.Styled(style.Tip, `Registry addon on with {{.driver}} uses {{.port}} please use that instead of default 5000`, out.V{"driver": cc.Driver, "port": port})
|
||||
}
|
||||
out.Styled(style.Documentation, `For more information see: https://minikube.sigs.k8s.io/docs/drivers/{{.driver}}`, out.V{"driver": cc.Driver})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue