Files
homelab/k8s/core/oauth2-proxy/middleware.yaml
T
Ultradesu 72cbcc3952
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 1m3s
Check with kubeconform / lint (push) Successful in 1m7s
Auto-update README / Generate README and Create MR (push) Successful in 28s
Added oauth2 proxy
2026-05-04 18:06:37 +01:00

16 lines
360 B
YAML

---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: keycloak-auth
namespace: oauth2-proxy
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
- Authorization