mirror of https://github.com/k3s-io/k3s
The --disable/--no-deploy flags actually turn off some built-in controllers, in addition to preventing manifests from getting loaded. Make it clear which controllers can still be disabled even when the packaged components are ommited by the no_stage build tag. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>pull/2483/head
parent
ea916030c2
commit
3b8ec74049
@ -0,0 +1,9 @@
|
||||
// +build no_stage
|
||||
|
||||
package cmds
|
||||
|
||||
const (
|
||||
// The coredns and servicelb controllers can still be disabled, even if their manifests
|
||||
// are missing. Same with CloudController/ccm.
|
||||
DisableItems = "coredns, servicelb"
|
||||
)
|
@ -0,0 +1,10 @@
|
||||
// +build !no_stage
|
||||
|
||||
package cmds
|
||||
|
||||
const (
|
||||
// coredns and servicelb run controllers that are turned off when their manifests are disabled.
|
||||
// The k3s CloudController also has a bundled manifest and can be disabled via the
|
||||
// --disable-cloud-controller flag or --disable=ccm, but the latter method is not documented.
|
||||
DisableItems = "coredns, servicelb, traefik, local-storage, metrics-server"
|
||||
)
|
Loading…
Reference in new issue