k8s/manifests/04-routes/httproute-rancher.yaml
Simple_Not a4b9c2e4c0
Some checks failed
continuous-integration/drone/push Build is failing
add kfk
2023-12-07 20:26:50 +10:00

27 lines
508 B
YAML

---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: http-rancher
namespace: default
spec:
hostnames:
- rancher.guaranteedstruggle.host
parentRefs:
- name: my-gateway
namespace: default
rules:
- matches:
- path:
type: PathPrefix
value: /
filters:
- type: RequestHeaderModifier
requestHeaderModifier:
set:
- name: X-Forwarded-Proto
value: https
backendRefs:
- name: myrancher
port: 80