Files
homelab/k8s/core/oauth2-proxy/middleware.yaml
T

15 lines
337 B
YAML
Raw Normal View History

2026-05-04 18:06:37 +01:00
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: keycloak-auth
2026-05-04 18:19:41 +01:00
namespace: kube-system
2026-05-04 18:06:37 +01:00
spec:
forwardAuth:
address: http://oauth2-proxy.oauth2-proxy.svc:80/oauth2/auth
trustForwardHeader: true
authResponseHeaders:
- X-Auth-Request-User
- X-Auth-Request-Email
- X-Auth-Request-Groups