From 0e620a9e6e3327ce86d5b6897762c935700a466d Mon Sep 17 00:00:00 2001 From: Talor Itzhak Date: Thu, 19 Sep 2024 15:10:57 +0300 Subject: [PATCH] deploy: disable smart polling by default Since we got the cache mechanism on the scheduler side we don't need the smart polling mechanism anymore. In order to make changes gradually, let's make smart polling disabled by default. In the future we might cosider remove this option completely. Signed-off-by: Talor Itzhak --- pkg/commands/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/commands/root.go b/pkg/commands/root.go index 64c306f9..c45a0f4d 100644 --- a/pkg/commands/root.go +++ b/pkg/commands/root.go @@ -102,8 +102,8 @@ func InitFlags(flags *pflag.FlagSet, commonOpts *options.Options, internalOpts * flags.BoolVar(&commonOpts.PullIfNotPresent, "pull-if-not-present", false, "force pull policies to IfNotPresent.") flags.StringVar(&commonOpts.UpdaterType, "updater-type", "RTE", "type of updater to deploy - RTE or NFD") flags.BoolVar(&commonOpts.UpdaterPFPEnable, "updater-pfp-enable", true, "toggle PFP support on the updater side.") - flags.BoolVar(&commonOpts.UpdaterNotifEnable, "updater-notif-enable", true, "toggle event-based notification support on the updater side.") - flags.BoolVar(&commonOpts.UpdaterCRIHooksEnable, "updater-cri-hooks-enable", true, "toggle installation of CRI hooks on the updater side.") + flags.BoolVar(&commonOpts.UpdaterNotifEnable, "updater-notif-enable", false, "toggle event-based notification support on the updater side.") + flags.BoolVar(&commonOpts.UpdaterCRIHooksEnable, "updater-cri-hooks-enable", false, "toggle installation of CRI hooks on the updater side.") flags.BoolVar(&commonOpts.UpdaterCustomSELinuxPolicy, "updater-custom-selinux-policy", false, "toggle installation of selinux policy on the updater side. off by default") flags.DurationVar(&commonOpts.UpdaterSyncPeriod, "updater-sync-period", manifests.DefaultUpdaterSyncPeriod, "tune the updater synchronization (nrt update) interval. Use 0 to disable.") flags.IntVar(&commonOpts.UpdaterVerbose, "updater-verbose", manifests.DefaultUpdaterVerbose, "set the updater verbosiness.")