This commit is contained in:
Michael Thomson
2023-11-28 09:25:33 -05:00
parent 5f8d7cacde
commit b5d89adfc0
2 changed files with 3 additions and 3 deletions

View File

@@ -125,8 +125,8 @@ spec:
className: traefik className: traefik
additionalLabels: {} additionalLabels: {}
annotations: annotations:
traefik.ingress.kubernetes.io/router.tls: "true" # traefik.ingress.kubernetes.io/router.tls: "true"
traefik.ingress.kubernetes.io/router.entrypoints: websecure # traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
hosts: hosts:
- host: podinfo.michaelthomson.dev - host: podinfo.michaelthomson.dev

View File

@@ -5,7 +5,7 @@ metadata:
namespace: traefik namespace: traefik
spec: spec:
forwardAuth: forwardAuth:
address: http://authentik-server/outpost.goauthentik.io/auth/traefik address: "http://authentik/outpost.goauthentik.io/auth/traefik"
trustForwardHeader: true trustForwardHeader: true
authResponseHeaders: authResponseHeaders:
- X-authentik-username - X-authentik-username