Hello, I’ve got the consul api gateway setup and was trying to play around with more complex routing rules. Specifically, I am using path based routing and trying to set up an IP allowlist for certain api paths. This is what my yaml looks like at the moment:
---
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: HTTPRoute
metadata:
name: route-to-eks-service-a
spec:
parentRefs:
- name: api-gateway
rules:
- matches:
- path:
type: PathPrefix
value: /api/serviceA
backendRefs:
- kind: Service
name: eks-service-a
port: 3001
I wanted to then use the HTTPRouteFilter to only route traffic coming from a specific list of IP addresses. Based on my research I don’t believe this is supported, however I figured I would ask here incase I missed something. If it is the case that this feature is not supported my next question would be, is this something that is in the roadmap?
Any advice would be greatly appreciated, thanks!