diff --git a/pkg/router/controller/unique_host.go b/pkg/router/controller/unique_host.go index ccbcddf27..9a30c7434 100644 --- a/pkg/router/controller/unique_host.go +++ b/pkg/router/controller/unique_host.go @@ -179,7 +179,7 @@ func (p *UniqueHost) HandleRoute(eventType watch.EventType, route *routev1.Route // we were not added because another route is covering us var owner *routev1.Route if old, ok := p.index.RoutesForHost(host); ok && len(old) > 0 { - owner = old[0] + owner = old[len(old)-1] } else { owner = &routev1.Route{} owner.Name = ""