This commit is contained in:
Simen Røstvik 2022-12-06 00:56:06 +01:00
parent a413b951f0
commit 0c2b6bf555
No known key found for this signature in database
2 changed files with 1 additions and 23 deletions

View File

@ -1,22 +0,0 @@
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
namespace: traefik
name: longhorn-authentik-forward
spec:
forwardAuth:
address: http://authentik.roxedus.com/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
- X-authentik-meta-version

View File

@ -38,7 +38,7 @@ spec:
annotations: annotations:
cert-manager.io/acme-challenge-type: dns01 cert-manager.io/acme-challenge-type: dns01
cert-manager.io/cluster-issuer: roxedus.com-cloudflare cert-manager.io/cluster-issuer: roxedus.com-cloudflare
traefik.ingress.kubernetes.io/router.middlewares: traefik-longhorn-authentik-forward@kubernetescrd traefik.ingress.kubernetes.io/router.middlewares: authentik-ak-outpost-localcluster@kubernetescrd
host: longhorn.roxedus.com host: longhorn.roxedus.com
tls: true tls: true
tlsSecret: longhorn-roxedus-com-cert tlsSecret: longhorn-roxedus-com-cert