From 4970d6133f186d7df1b66a4ca5083795cff058df Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 28 Oct 2019 14:43:11 +0900 Subject: [PATCH] Propagate DisableAgent flag The recent setMasterRoleLabel stuff uses it. --- pkg/cli/server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cli/server/server.go b/pkg/cli/server/server.go index d58277ff3b..22dcff2a2c 100644 --- a/pkg/cli/server/server.go +++ b/pkg/cli/server/server.go @@ -55,6 +55,7 @@ func run(app *cli.Context, cfg *cmds.Server) error { } serverConfig := server.Config{} + serverConfig.DisableAgent = cfg.DisableAgent serverConfig.ControlConfig.ClusterSecret = cfg.ClusterSecret serverConfig.ControlConfig.DataDir = cfg.DataDir serverConfig.ControlConfig.KubeConfigOutput = cfg.KubeConfigOutput