Skip to content

Commit 5c5457e

Browse files
ivanmatmatioktalz
authored andcommitted
BUG: fix ingress status at creation
1 parent bb354bc commit 5c5457e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controller/kubernetes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ func (k *K8s) EventsIngresses(channel chan SyncDataEvent, stop chan struct{}, in
409409
k.Logger.Errorf("%s: Invalid data from k8s api, %s", INGRESS, obj)
410410
return
411411
}
412+
item.Status = ADDED
412413
k.Logger.Tracef("%s %s: %s", INGRESS, item.Status, item.Name)
413414
channel <- SyncDataEvent{SyncType: INGRESS, Namespace: item.Namespace, Data: item}
414415
},

0 commit comments

Comments
 (0)