Browse Source

Propagate DisableAgent flag

The recent setMasterRoleLabel stuff uses it.
pull/976/head
YAMAMOTO Takashi 5 years ago
parent
commit
4970d6133f
  1. 1
      pkg/cli/server/server.go

1
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

Loading…
Cancel
Save