Merge pull request #13442 from afbjorklund/nokube-runtimes

configure container runtimes for clusters without Kubernetes too
pull/13458/head
Medya Ghazizadeh 2022-01-24 16:22:42 -08:00 committed by GitHub
commit 62bc75e058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
}