sigs.k8s.io/gateway-api@v1.0.0/examples/standard/simple-http-https/tls-redirect-route.yaml (about) 1 apiVersion: gateway.networking.k8s.io/v1beta1 2 kind: HTTPRoute 3 metadata: 4 name: tls-redirect 5 spec: 6 parentRefs: 7 - name: example-gateway 8 sectionName: http 9 hostnames: 10 - foo.example.com 11 - bar.example.com 12 rules: 13 - filters: 14 - type: RequestRedirect 15 requestRedirect: 16 scheme: https 17 port: 443