Add correct HasSynced func

This commit is contained in:
James Munnelly 2018-03-23 13:09:05 +00:00
parent 649fdecdd2
commit 02f1b37caf

View File

@ -103,7 +103,7 @@ func New(
// is far more performant to perform the sync here.
// We should consider moving this into pkg/issuer/acme at some point, some how.
ctrl.syncedFuncs = append(ctrl.syncedFuncs, podsInformer.Informer().HasSynced)
ctrl.syncedFuncs = append(ctrl.syncedFuncs, secretsInformer.Informer().HasSynced)
ctrl.syncedFuncs = append(ctrl.syncedFuncs, serviceInformer.Informer().HasSynced)
return ctrl
}