Merge pull request #2672 from aledbf/conf-reload
After a configmap change parse ingress annotations (again)
This commit is contained in:
commit
024f42de00
1 changed files with 12 additions and 0 deletions
|
@ -479,6 +479,18 @@ func New(checkOCSP bool,
|
|||
if key == configmap {
|
||||
store.setConfig(cm)
|
||||
}
|
||||
|
||||
ings := store.listers.IngressAnnotation.List()
|
||||
for _, ingKey := range ings {
|
||||
key := k8s.MetaNamespaceKey(ingKey)
|
||||
ing, err := store.GetIngress(key)
|
||||
if err != nil {
|
||||
glog.Errorf("could not find Ingress %v in local store: %v", key, err)
|
||||
continue
|
||||
}
|
||||
store.extractAnnotations(ing)
|
||||
}
|
||||
|
||||
updateCh.In() <- Event{
|
||||
Type: ConfigurationEvent,
|
||||
Obj: cur,
|
||||
|
|
Loading…
Reference in a new issue