From 5c5457e4debdaded99ac5189b6b6604c556d4706 Mon Sep 17 00:00:00 2001 From: Ivan Matmati Date: Wed, 23 Mar 2022 15:32:29 +0100 Subject: [PATCH] BUG: fix ingress status at creation --- controller/kubernetes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/kubernetes.go b/controller/kubernetes.go index 44908852..e3c1a0fb 100644 --- a/controller/kubernetes.go +++ b/controller/kubernetes.go @@ -409,6 +409,7 @@ func (k *K8s) EventsIngresses(channel chan SyncDataEvent, stop chan struct{}, in k.Logger.Errorf("%s: Invalid data from k8s api, %s", INGRESS, obj) return } + item.Status = ADDED k.Logger.Tracef("%s %s: %s", INGRESS, item.Status, item.Name) channel <- SyncDataEvent{SyncType: INGRESS, Namespace: item.Namespace, Data: item} },