sigs.k8s.io/gateway-api@v1.0.0/conformance/tests/mesh-split.yaml (about)

     1  apiVersion: gateway.networking.k8s.io/v1
     2  kind: HTTPRoute
     3  metadata:
     4    name: mesh-split
     5    namespace: gateway-conformance-mesh
     6  spec:
     7    parentRefs:
     8    - group: ""
     9      kind: Service
    10      name: echo
    11    rules:
    12    - matches:
    13      - path:
    14          type: Exact
    15          value: /v1
    16      backendRefs:
    17      - name: echo-v1
    18        port: 80
    19    - matches:
    20      - path:
    21          type: Exact
    22          value: /v2
    23      backendRefs:
    24      - name: echo-v2
    25        port: 80