Using a ingress resource (specifically backed by ingress-nginx in my case), is it possible to add a rule that would reply an HTTP 200 code without any service handling it? No body needed, but would be even better if I can set a static one.
My reasoning is that the application hosting a service doesn’t handle a specific route, but I need it to return a successful http error code and not 404. So I would like to have the ingress intercept the query and reply 200 without routing to the service.
https://mydomain.com/service → route to backend service in the cluster
https://mydomain.com/service/specificPath → return 200