This commit is contained in:
Eugene Apollonsky 2024-11-27 20:28:37 +00:00 committed by GitHub
commit 4f332b1e31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -938,6 +938,7 @@ func (n *NGINXController) getBackendServers(ingresses []*ingress.Ingress) ([]*in
nb := upstream.DeepCopy() nb := upstream.DeepCopy()
nb.Name = name nb.Name = name
nb.Endpoints = endps nb.Endpoints = endps
nb.Service = location.DefaultBackend
aUpstreams = append(aUpstreams, nb) aUpstreams = append(aUpstreams, nb)
location.DefaultBackendUpstreamName = name location.DefaultBackendUpstreamName = name