Skip to content

Commit 102ec99

Browse files
authored
Enable dynamic config on all controllers (#474)
Signed-off-by: Kimmo Lehto <[email protected]>
1 parent 0c4bdac commit 102ec99

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

phase/install_controllers.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ func (p *InstallControllers) Run() error {
8383
}
8484
}()
8585

86+
if p.Config.Spec.K0s.DynamicConfig {
87+
h.InstallFlags.AddOrReplace("--enable-dynamic-config")
88+
}
89+
8690
log.Infof("%s: installing k0s controller", h)
8791
cmd, err := h.K0sInstallCommand()
8892
if err != nil {

0 commit comments

Comments
 (0)