ingress-shim: FilteredSharedInformer -> SharedInformer

This commit is contained in:
Louis Taylor 2018-04-06 10:25:26 +01:00
parent 3733bf2b74
commit 1dece103d3
No known key found for this signature in database
GPG Key ID: 8E81A6DAE13E7098

View File

@ -109,8 +109,8 @@ func buildController(opts *options.ControllerOptions, stopCh <-chan struct{}) (*
// If it is specified, all operations relating to ClusterIssuer resources
// should be disabled and thus we don't need to also create factories for
// the --cluster-resource-namespace.
sharedInformerFactory := informers.NewFilteredSharedInformerFactory(intcl, time.Second*30, defaultNamespace, nil)
kubeSharedInformerFactory := kubeinformers.NewFilteredSharedInformerFactory(cl, time.Second*30, defaultNamespace, nil)
sharedInformerFactory := informers.NewSharedInformerFactory(intcl, time.Second*30)
kubeSharedInformerFactory := kubeinformers.NewSharedInformerFactory(cl, time.Second*30)
ctrl := controller.New(
sharedInformerFactory.Certmanager().V1alpha1().Certificates(),
kubeSharedInformerFactory.Extensions().V1beta1().Ingresses(),