This PR updates the operator.NewKubernetesBasedInformerWithFilters method to use a config object that includes both ListWatchOptions and a CacheResyncInterval duration, which is passed to the underlying cache.NewSharedIndexInformer call, allowing for customization of the cache resync interval instead of the default 30s that was hard-coded (and set to 30s due to an ancient copy/paste).
This value can also be set via simple.NewOperator with simple.OperatorConfig.InformerCacheResyncInterval.
This PR updates the
operator.NewKubernetesBasedInformerWithFilters
method to use a config object that includes both ListWatchOptions and a CacheResyncInterval duration, which is passed to the underlyingcache.NewSharedIndexInformer
call, allowing for customization of the cache resync interval instead of the default 30s that was hard-coded (and set to 30s due to an ancient copy/paste).This value can also be set via
simple.NewOperator
withsimple.OperatorConfig.InformerCacheResyncInterval
.