feat: add middleware
This commit is contained in:
@@ -1,22 +1,22 @@
|
|||||||
# apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
# kind: Middleware
|
kind: Middleware
|
||||||
# metadata:
|
metadata:
|
||||||
# name: authentik
|
name: authentik
|
||||||
# namespace: authentik-system
|
namespace: authentik-system
|
||||||
# spec:
|
spec:
|
||||||
# forwardAuth:
|
forwardAuth:
|
||||||
# # This address should point to the cluster endpoint provided by the kubernetes service, not the Ingress.
|
# This address should point to the cluster endpoint provided by the kubernetes service, not the Ingress.
|
||||||
# address: http://authentik/outpost.goauthentik.io/auth/traefik
|
address: http://authentik-server.authentik-system/outpost.goauthentik.io/auth/traefik
|
||||||
# trustForwardHeader: true
|
trustForwardHeader: true
|
||||||
# authResponseHeaders:
|
authResponseHeaders:
|
||||||
# - X-authentik-username
|
- X-authentik-username
|
||||||
# - X-authentik-groups
|
- X-authentik-groups
|
||||||
# - X-authentik-email
|
- X-authentik-email
|
||||||
# - X-authentik-name
|
- X-authentik-name
|
||||||
# - X-authentik-uid
|
- X-authentik-uid
|
||||||
# - X-authentik-jwt
|
- X-authentik-jwt
|
||||||
# - X-authentik-meta-jwks
|
- X-authentik-meta-jwks
|
||||||
# - X-authentik-meta-outpost
|
- X-authentik-meta-outpost
|
||||||
# - X-authentik-meta-provider
|
- X-authentik-meta-provider
|
||||||
# - X-authentik-meta-app
|
- X-authentik-meta-app
|
||||||
# - X-authentik-meta-version
|
- X-authentik-meta-version
|
||||||
|
|||||||
Reference in New Issue
Block a user