kubernetes/staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/invalid-httredirect-hostname.yaml

apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  name: invalid-backend-port
spec:
  rules:
  - backendRefs:
    - name: my-service
      port: 8080
    filters:
    - type: RequestRedirect
      requestRedirect:
        hostname: "*.gateway.networking.k8s.io"