apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  annotations:
    konghq.com/strip-path: "true"
  name: tiworkload-agent
  namespace: tiworkload
spec:
  parentRefs:
    - group: gateway.networking.k8s.io
      kind: Gateway
      name: kong
      namespace: kong
  rules:
    - backendRefs:
        - group: ""
          kind: Service
          name: tiworkload-agent
          port: 81
          weight: 1
      matches:
        - path:
            type: PathPrefix
            value: /tiworkload
