apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: http-filter-1 namespace: gateway-api-example-ns1 spec: parentRefs: - name: my-filter-gateway sectionName: http hostnames: - my-filter.example.com rules: - filters: - type: RequestRedirect requestRedirect: path: type: ReplaceFullPath replaceFullPath: /foo