Add event for configmap update
This commit is contained in:
parent
4fe8fc2e41
commit
0287024598
2 changed files with 8 additions and 2 deletions
|
|
@ -291,6 +291,10 @@ func (n *NGINXController) Start() {
|
|||
break
|
||||
}
|
||||
glog.V(3).Infof("Event %v received - object %v", evt.Type, evt.Obj)
|
||||
if evt.Type == store.ConfigurationEvent {
|
||||
n.SetForceReload(true)
|
||||
}
|
||||
|
||||
n.syncQueue.Enqueue(evt.Obj)
|
||||
case <-n.stopCh:
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue