Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: remove multiple network resources with identical hostnames limitation #1032

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KevFan
Copy link
Contributor

@KevFan KevFan commented Nov 19, 2024

Description

Closes: #702

#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

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
  • Curling this path should give a 403 as it's protected by the GW policy
 curl -H 'Host: api.toystore.com'  http://$GATEWAY_URL/other -i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/doc Improvements or additions to documentation size/small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AuthPolicy does not recover from error state automatically if root cause of the error got fixed
1 participant