k8s/manifests/04-routes/httproute-rancher.yaml
hogweed1 2e2d0605a6
All checks were successful
continuous-integration/drone/push Build is passing
mm
2024-07-21 23:21:48 +10:00

27 lines
503 B
YAML

---
apiVersion: gateway.networking.k8s.io/v1
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