sigs.k8s.io/gateway-api@v1.0.0/conformance/tests/httproute-invalid-parentref-not-matching-listener-port.yaml (about)

     1  apiVersion: gateway.networking.k8s.io/v1
     2  kind: HTTPRoute
     3  metadata:
     4    name: httproute-listener-not-matching-route-port
     5    namespace: gateway-conformance-infra
     6  spec:
     7    parentRefs:
     8    - name: same-namespace
     9      namespace: gateway-conformance-infra
    10      # mismatched port here (81 is not an available gateway listener) triggers NoMatchingParent reason
    11      port: 81
    12    rules:
    13    - backendRefs:
    14      - name: infra-backend-v1
    15        kind: Service
    16        port: 8080