2026-01-15 15:48:10 +01:00
|
|
|
{{- if index .Values.traefik.enabled }}
|
2024-12-09 15:05:29 +01:00
|
|
|
apiVersion: traefik.io/v1alpha1
|
|
|
|
|
kind: Middleware
|
|
|
|
|
metadata:
|
|
|
|
|
name: forward-auth
|
|
|
|
|
spec:
|
|
|
|
|
forwardAuth:
|
2026-02-24 08:51:48 +01:00
|
|
|
address: "http://oc-auth-svc:8080/oc/forward"
|
2024-12-09 15:05:29 +01:00
|
|
|
trustForwardHeader: true
|
2026-02-24 08:51:48 +01:00
|
|
|
authResponseHeaders: X-Auth-Request-User,X-Auth-Request-Email
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
apiVersion: traefik.io/v1alpha1
|
|
|
|
|
kind: Middleware
|
|
|
|
|
metadata:
|
|
|
|
|
name: root-forward-auth
|
|
|
|
|
spec:
|
|
|
|
|
forwardAuth:
|
|
|
|
|
address: "http://{{ .Release.Name }}-hydra-public.{{ .Release.Namespace }}:4444/oauth2/auth"
|
|
|
|
|
trustForwardHeader: true
|
|
|
|
|
authResponseHeaders: X-Auth-Request-User,X-Auth-Request-Email
|
|
|
|
|
{{- end }}
|