apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: path-matching-order namespace: gateway-conformance-infra spec: parentRefs: - name: same-namespace rules: - matches: - path: type: Exact value: /match backendRefs: - name: infra-backend-v1 port: 8080 - matches: - path: type: Exact value: /match/exact backendRefs: - name: infra-backend-v2 port: 8080 - matches: - path: type: Exact value: /match/exact/one backendRefs: - name: infra-backend-v3 port: 8080 - matches: - path: type: PathPrefix value: /match/ backendRefs: - name: infra-backend-v3 port: 8080 - matches: - path: type: PathPrefix value: /match/prefix/ backendRefs: - name: infra-backend-v1 port: 8080 - matches: - path: type: PathPrefix value: /match/prefix/one backendRefs: - name: infra-backend-v2 port: 8080