Is it possible to configure an ingress controller in Kubernetes to route the HTTP requests to a service only if the incoming requests have a certain value for a header?
Example
An HTTP request with following header
X-MY-CUSTOM-HEADER: accepted-value
should be forwarded to service1
An HTTP request with following header
X-MY-CUSTOM-HEADER: invalid-value
should be blocked
If is possible could you detail a bit or point to some documentation as I wasn't able to find documentation for such usecase