sigs.k8s.io/gateway-api@v1.0.0/examples/standard/simple-http-https/bar-route.yaml (about)

     1  apiVersion: gateway.networking.k8s.io/v1beta1
     2  kind: HTTPRoute
     3  metadata:
     4    name: bar 
     5  spec:
     6    parentRefs:
     7    - name: example-gateway
     8      sectionName: https
     9    hostnames:
    10    - bar.example.com
    11    rules:
    12    - matches:
    13      - path:
    14          type: PathPrefix
    15          value: /
    16      backendRefs:
    17      - name: bar-app 
    18        port: 80