diff --git a/cmd/ingress-shim/app.go b/cmd/ingress-shim/app.go index 48b2f7d71..6a65409eb 100644 --- a/cmd/ingress-shim/app.go +++ b/cmd/ingress-shim/app.go @@ -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(),