Commit 4970d613 authored by YAMAMOTO Takashi's avatar YAMAMOTO Takashi

Propagate DisableAgent flag

The recent setMasterRoleLabel stuff uses it.
parent fc4fc47e
...@@ -55,6 +55,7 @@ func run(app *cli.Context, cfg *cmds.Server) error { ...@@ -55,6 +55,7 @@ func run(app *cli.Context, cfg *cmds.Server) error {
} }
serverConfig := server.Config{} serverConfig := server.Config{}
serverConfig.DisableAgent = cfg.DisableAgent
serverConfig.ControlConfig.ClusterSecret = cfg.ClusterSecret serverConfig.ControlConfig.ClusterSecret = cfg.ClusterSecret
serverConfig.ControlConfig.DataDir = cfg.DataDir serverConfig.ControlConfig.DataDir = cfg.DataDir
serverConfig.ControlConfig.KubeConfigOutput = cfg.KubeConfigOutput serverConfig.ControlConfig.KubeConfigOutput = cfg.KubeConfigOutput
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment