fix status updated: make sure ingress.status is copied

This commit is contained in:
Elvin Efendi 2018-12-17 16:10:53 +04:00
parent ee3a8fe581
commit 7a00d52141
2 changed files with 2 additions and 1 deletions

View file

@ -602,6 +602,7 @@ func (s *k8sStore) syncIngress(ing *extensions.Ingress) {
copyIng := &extensions.Ingress{}
ing.ObjectMeta.DeepCopyInto(&copyIng.ObjectMeta)
ing.Spec.DeepCopyInto(&copyIng.Spec)
ing.Status.DeepCopyInto(&copyIng.Status)
for ri, rule := range copyIng.Spec.Rules {
if rule.HTTP == nil {