Make sure to always configure runtimes

Was missing to set up the container runtime (CRI) properly,
when running minikube without kubernetes (--no-kubernetes)
pull/13442/head
Anders F Björklund 2022-01-23 16:25:11 +01:00
parent 264535b730
commit b1d880e134
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ func Start(starter Starter, apiServer bool) (*kubeconfig.Settings, error) {
return nil, err
}
if stopk8s {
nv := semver.Version{Major: 0, Minor: 0, Patch: 0}
configureRuntimes(starter.Runner, *starter.Cfg, nv)
configureMounts(&wg, *starter.Cfg)
return nil, config.Write(viper.GetString(config.ProfileName), starter.Cfg)
}