Commit 88722df1 authored by Geoff Simmons's avatar Geoff Simmons

Update informer factory used for the custom resources.

parent 0fb1b540
......@@ -184,8 +184,9 @@ func main() {
vingClient, *resyncPeriodF)
} else {
vcrInformerFactory =
vcr_informers.NewFilteredSharedInformerFactory(
vingClient, *resyncPeriodF, *namespaceF, noop)
vcr_informers.NewSharedInformerFactoryWithOptions(
vingClient, *resyncPeriodF,
vcr_informers.WithNamespace(*namespaceF))
informerFactory = informers.NewSharedInformerFactoryWithOptions(
kubeClient, *resyncPeriodF,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment