Open KevFan opened 3 days ago
Closes: https://github.com/Kuadrant/kuadrant-operator/issues/702
https://github.com/Kuadrant/kuadrant-operator/issues/702 has been fixed and with the refactor to effective policies the limitatation for multiple network resources with identical hostnames no longer applies for Auth and RateLimit policy
HTTPRoute
kubectl apply -f - <<EOF apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: other spec: parentRefs: - name: kuadrant-ingressgateway namespace: gateway-system hostnames: - api.toystore.com rules: - matches: # rule-1 - method: GET path: type: PathPrefix value: "/other" backendRefs: - name: toystore port: 80 EOF
403
curl -H 'Host: api.toystore.com' http://$GATEWAY_URL/other -i
Description
Closes: https://github.com/Kuadrant/kuadrant-operator/issues/702
https://github.com/Kuadrant/kuadrant-operator/issues/702 has been fixed and with the refactor to effective policies the limitatation for multiple network resources with identical hostnames no longer applies for Auth and RateLimit policy
Verification
HTTPRoute
that defines the same hostname with a different path:403
as it's protected by the GW policy