From 043c45ddf489e736ffaad434138a33b19b1aa8a4 Mon Sep 17 00:00:00 2001 From: RA489 Date: Thu, 4 Jul 2019 13:39:01 +0530 Subject: [PATCH] [FEATURE] allow to set container-runtime via config --- cmd/minikube/cmd/config/config.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmd/minikube/cmd/config/config.go b/cmd/minikube/cmd/config/config.go index e8143caabc9b..04a11c70acae 100644 --- a/cmd/minikube/cmd/config/config.go +++ b/cmd/minikube/cmd/config/config.go @@ -52,6 +52,12 @@ var settings = []Setting{ validations: []setFn{IsValidDriver}, callbacks: []setFn{RequiresRestartMsg}, }, + { + name: "container-runtime", + set: SetString, + validations: []setFn{IsContainerdRuntime}, + callbacks: []setFn{RequiresRestartMsg}, + }, { name: "feature-gates", set: SetString,