From f70c7e3c06652a07dae1be7b5fbf3192d37ab85d 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..7b920accf982 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,