diff --git a/pkg/cli/server/server.go b/pkg/cli/server/server.go index e72cdb4f7d..bba86a1b19 100644 --- a/pkg/cli/server/server.go +++ b/pkg/cli/server/server.go @@ -129,6 +129,10 @@ func run(app *cli.Context, cfg *cmds.Server, leaderControllers server.CustomCont serverConfig.ControlConfig.EtcdSnapshotCron = cfg.EtcdSnapshotCron serverConfig.ControlConfig.EtcdSnapshotDir = cfg.EtcdSnapshotDir serverConfig.ControlConfig.EtcdSnapshotRetention = cfg.EtcdSnapshotRetention + + if cfg.EtcdDisableSnapshots { + logrus.Info("ETCD snapshots are disabled") + } serverConfig.ControlConfig.EtcdDisableSnapshots = cfg.EtcdDisableSnapshots serverConfig.ControlConfig.EtcdExposeMetrics = cfg.EtcdExposeMetrics serverConfig.ControlConfig.EtcdS3 = cfg.EtcdS3