mirror of https://github.com/k3s-io/k3s
Merge pull request #1752 from ibuildthecloud/disable-ccm
Don't write ccm.yaml if --disable-cloud-controller is setpull/1756/head
commit
1d05e99769
|
@ -171,6 +171,11 @@ func run(app *cli.Context, cfg *cmds.Server) error {
|
|||
serverConfig.DisableServiceLB = true
|
||||
}
|
||||
|
||||
if serverConfig.ControlConfig.DisableCCM {
|
||||
serverConfig.ControlConfig.Skips["ccm"] = true
|
||||
serverConfig.ControlConfig.Disables["ccm"] = true
|
||||
}
|
||||
|
||||
logrus.Info("Starting k3s ", app.App.Version)
|
||||
notifySocket := os.Getenv("NOTIFY_SOCKET")
|
||||
os.Unsetenv("NOTIFY_SOCKET")
|
||||
|
|
Loading…
Reference in New Issue