You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sync default sync interval was changed to 12 hours, but there is
also a CLI option that also configures the sync interval.
The OLMConfig reconcile code did not properly handle the value coming
in via the CLI, and changing the sync interval from the default
without an OLMConfig value specified.
The CLI option now changes the default sync interval, when the
OLMConfig is not present. The 12h default sync interval is used when
neither the CLI nor the OLMConfig is specified. The OLMConfig
reconcile code now uses the CLI option as the default.
Signed-off-by: Todd Short <[email protected]>
flags.DurationVar(&defaults.SyncInterval, "interval", defaults.SyncInterval, "interval at which to re-sync CatalogSources")
55
+
flags.DurationVar(&defaults.DefaultSyncInterval, "interval", defaults.DefaultSyncInterval, "default interval at which to re-sync CatalogSources")
56
56
flags.StringVar(&defaults.GlobalNamespace, "global-namespace", defaults.GlobalNamespace, "Name of the namespace where the global CatalogSources are located")
57
57
flags.StringVar(&defaults.Kubeconfig, "kubeconfig", defaults.Kubeconfig, "path to the kubeconfig used to connect to the Kubernetes API server and the Kubelets (defaults to in-cluster config)")
0 commit comments