k3s/kustomize/public-oidc/patches/httproute-http.yaml
Jonathan Leech-Pepin 633af9f360
Move https protocol to public-oidc template
Since any OIDC redirects will need to ensure https, move their common patch to a
template layer.
2025-01-31 09:23:38 -05:00

15 lines
329 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: http
spec:
rules:
- filters:
- type: RequestHeaderModifier
requestHeaderModifier:
set:
- name: "X-Forwarded-Proto"
value: "https"
backendRefs:
- name: web
port: 80