mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Propagate DisableAgent flag
The recent setMasterRoleLabel stuff uses it.
This commit is contained in:
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
Block a user