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

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