apisix-ingress-controller: bug: we should create APISIX routes even if Service is created later

https://github.com/apache/apisix-ingress-controller/blob/c9e0c965cd2226e2c44aa4e692a8bf57d1586aa3/pkg/ingress/apisix_route.go#L261-L271

We will delete this event from workqueue if we have an ApisixRoute resources without any valid backends. It is reasonable?

@cmssczy This change is to fix the #810 and was introduced in #893

This does cause some problems.

For example, create an ApisixRoute first, which references a service that does not exist. But when a Service is created, the APISIX Ingress controller can’t actually create a route.

_Originally posted by @tao12345666333 in https://github.com/apache/apisix-ingress-controller/issues/925#issuecomment-1072128249_

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (18 by maintainers)

Most upvoted comments