This commit is contained in:
2025-05-10 13:56:42 -05:00
parent 45af1f9be9
commit 5e0ce5c39c

View File

@@ -5,7 +5,7 @@ metadata:
namespace: traefik namespace: traefik
spec: spec:
forwardAuth: forwardAuth:
address: https://authentik.durp.info/outpost.goauthentik.io/auth/traefik address: https://authentik.durp.info/outpost.goauthentik.io/auth/traefik?rd=$scheme://$http_host$request_uri
trustForwardHeader: true trustForwardHeader: true
authResponseHeaders: authResponseHeaders:
- X-authentik-username - X-authentik-username
@@ -34,21 +34,21 @@ spec:
- 10.0.0.0/8 - 10.0.0.0/8
--- ---
apiVersion: traefik.io/v1alpha1 #apiVersion: traefik.io/v1alpha1
kind: Middleware #kind: Middleware
metadata: #metadata:
name: bouncer # name: bouncer
namespace: traefik # namespace: traefik
spec: #spec:
plugin: # plugin:
bouncer: # bouncer:
enabled: true # enabled: true
crowdsecMode: stream # crowdsecMode: stream
crowdsecLapiScheme: https # crowdsecLapiScheme: https
crowdsecLapiTLSInsecureVerify: true # crowdsecLapiTLSInsecureVerify: true
crowdsecLapiHost: crowdsec-service.crowdsec:8080 # crowdsecLapiHost: crowdsec-service.crowdsec:8080
crowdsecLapiKey: # crowdsecLapiKey:
valueFrom: # valueFrom:
secretKeyRef: # secretKeyRef:
name: crowdsec-lapi-key # name: crowdsec-lapi-key
key: lapi-key # key: lapi-key