Skip to content

Commit

Permalink
Remove the call to validatek8sversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlorenc committed Jul 18, 2018
1 parent c06869c commit dcfe897
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/minikube/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import (
"golang.org/x/sync/errgroup"
cmdcfg "k8s.io/minikube/cmd/minikube/cmd/config"
cmdutil "k8s.io/minikube/cmd/util"
"k8s.io/minikube/pkg/minikube/bootstrapper"
"k8s.io/minikube/pkg/minikube/cluster"
cfg "k8s.io/minikube/pkg/minikube/config"
"k8s.io/minikube/pkg/minikube/constants"
Expand Down Expand Up @@ -131,11 +130,6 @@ func runStart(cmd *cobra.Command, args []string) {
os.Exit(1)
}

// Don't verify version for kubeadm bootstrapped clusters
if k8sVersion != constants.DefaultKubernetesVersion && clusterBootstrapper != bootstrapper.BootstrapperTypeKubeadm {
validateK8sVersion(k8sVersion)
}

if viper.GetBool(gpu) && viper.GetString(vmDriver) != "kvm2" {
glog.Exitf("--gpu is only supported with --vm-driver=kvm2")
}
Expand Down

0 comments on commit dcfe897

Please sign in to comment.