From 37b44c04a7f10a1c80e98ce9b09e91154fcd8b2a Mon Sep 17 00:00:00 2001 From: Ricardo Maraschini Date: Tue, 19 Sep 2023 10:23:15 +0200 Subject: [PATCH] feat: stop providing controller as a valid role we have decided to remove the "controller" role from the configuration step. we only allow roles "worker" and "controller+worker". --- pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index a5c005a97..b2210953b 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -26,7 +26,7 @@ import ( ) // roles holds a list of valid roles. -var roles = []string{"controller+worker", "controller", "worker"} +var roles = []string{"controller+worker", "worker"} // quiz prompts for the cluster configuration interactively. var quiz = prompts.New()