mirror of https://github.com/k3s-io/k3s
Propagate DisableAgent flag
The recent setMasterRoleLabel stuff uses it.pull/976/head
parent
fc4fc47ec0
commit
4970d6133f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue