2025-09-05 02:12:45 -05:00
|
|
|
# services/vault/middleware.yaml
|
2025-08-21 07:41:55 -05:00
|
|
|
apiVersion: traefik.io/v1alpha1
|
|
|
|
|
kind: Middleware
|
|
|
|
|
metadata:
|
2025-12-07 10:25:44 -03:00
|
|
|
name: vault-forward-auth
|
2025-08-21 07:41:55 -05:00
|
|
|
namespace: vault
|
|
|
|
|
spec:
|
2025-12-07 10:25:44 -03:00
|
|
|
forwardAuth:
|
2025-12-07 11:25:29 -03:00
|
|
|
address: http://oauth2-proxy.sso.svc.cluster.local:4180/oauth2/auth
|
2025-12-07 10:25:44 -03:00
|
|
|
trustForwardHeader: true
|
|
|
|
|
authResponseHeaders:
|
|
|
|
|
- Authorization
|
|
|
|
|
- X-Auth-Request-Email
|
|
|
|
|
- X-Auth-Request-User
|
|
|
|
|
- X-Auth-Request-Groups
|