added outpost service pod
This commit is contained in:
25
infrastructure/traefik-middleware-authentik.yaml
Normal file
25
infrastructure/traefik-middleware-authentik.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: authentik-global
|
||||
namespace: traefik-system
|
||||
labels:
|
||||
app.kubernetes.io/name: traefik
|
||||
app.kubernetes.io/component: middleware
|
||||
spec:
|
||||
forwardAuth:
|
||||
# Adresse zeigt auf den neuen Service, den wir oben erstellt haben
|
||||
address: http://ak-outpost-authentik-embedded-outpost.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/traefik
|
||||
trustForwardHeader: true
|
||||
authResponseHeaders:
|
||||
- X-authentik-username
|
||||
- X-authentik-groups
|
||||
- X-authentik-email
|
||||
- X-authentik-name
|
||||
- X-authentik-uid
|
||||
- X-authentik-jwt
|
||||
- X-authentik-meta-jwks
|
||||
- X-authentik-meta-outpost
|
||||
- X-authentik-meta-provider
|
||||
- X-authentik-meta-app
|
||||
- authorization
|
||||
Reference in New Issue
Block a user