Skip to content

Commit

Permalink
Fix sync of excluded secrets #102
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmoraisjr committed Mar 16, 2018
1 parent 71ec29c commit f31e25f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/common/ingress/controller/listers.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ func (ic *GenericController) createListers(disableNodeLister bool) (*ingress.Sto
}

secrEventHandler := cache.ResourceEventHandlerFuncs{
AddFunc: func(obj interface{}) {
ic.syncQueue.Enqueue(obj)
},
UpdateFunc: func(old, cur interface{}) {
if !reflect.DeepEqual(old, cur) {
sec := cur.(*apiv1.Secret)
Expand Down

0 comments on commit f31e25f

Please sign in to comment.