k8s/manifests/04-httproutes/httproute-rancher.yaml
Simple_Not d0c9250c30
Some checks failed
continuous-integration/drone/push Build is failing
neu way of manifestos
2023-11-16 19:52:51 +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