From 56fb71a0d8fc07f57e9d1fab2bb14d340b5f18ad Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Thu, 4 Apr 2019 03:27:00 +0300 Subject: [PATCH] minikube: use --profile instead of --p It was reported that "minikube start" fails: minikube start --bootstrapper=kubeadm --p=clusterapi Error: unknown flag: --p From "minikube start --help": -p, --profile string Use --profile in minikube.go as --p does not work. The alternative is -p. --- cmd/clusterctl/clusterdeployer/bootstrap/minikube/minikube.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/clusterctl/clusterdeployer/bootstrap/minikube/minikube.go b/cmd/clusterctl/clusterdeployer/bootstrap/minikube/minikube.go index 272bb939ec97..bb9044a10d9e 100644 --- a/cmd/clusterctl/clusterdeployer/bootstrap/minikube/minikube.go +++ b/cmd/clusterctl/clusterdeployer/bootstrap/minikube/minikube.go @@ -61,7 +61,7 @@ func WithOptionsAndKubeConfigPath(options []string, kubeconfigpath string) *Mini } return true }() { - options = append(options, fmt.Sprintf("p=%s", minikubeClusterName)) + options = append(options, fmt.Sprintf("profile=%s", minikubeClusterName)) } return &Minikube{