diff --git a/pkg/cli/server/server.go b/pkg/cli/server/server.go index b9603e12c67c..67130e5dfbde 100644 --- a/pkg/cli/server/server.go +++ b/pkg/cli/server/server.go @@ -157,7 +157,7 @@ func run(app *cli.Context, cfg *cmds.Server, leaderControllers server.CustomCont serverConfig.ControlConfig.EtcdExposeMetrics = cfg.EtcdExposeMetrics serverConfig.ControlConfig.EtcdDisableSnapshots = cfg.EtcdDisableSnapshots - if !cfg.EtcdDisableSnapshots { + if !cfg.EtcdDisableSnapshots || cfg.ClusterReset { serverConfig.ControlConfig.EtcdSnapshotCompress = cfg.EtcdSnapshotCompress serverConfig.ControlConfig.EtcdSnapshotName = cfg.EtcdSnapshotName serverConfig.ControlConfig.EtcdSnapshotCron = cfg.EtcdSnapshotCron