Skip to content

Commit

Permalink
Enable dynamic config on all controllers (#474)
Browse files Browse the repository at this point in the history
Signed-off-by: Kimmo Lehto <[email protected]>
  • Loading branch information
kke committed Mar 20, 2023
1 parent 0c4bdac commit 102ec99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions phase/install_controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ func (p *InstallControllers) Run() error {
}
}()

if p.Config.Spec.K0s.DynamicConfig {
h.InstallFlags.AddOrReplace("--enable-dynamic-config")
}

log.Infof("%s: installing k0s controller", h)
cmd, err := h.K0sInstallCommand()
if err != nil {
Expand Down

0 comments on commit 102ec99

Please sign in to comment.