This commit is contained in:
Simen Røstvik 2022-12-06 00:47:14 +01:00
parent f4160ff646
commit 862241d3dd

View File

@ -6,7 +6,7 @@ metadata:
name: longhorn-authentik-forward name: longhorn-authentik-forward
spec: spec:
forwardAuth: forwardAuth:
address: http://longhorn.roxedus.com/outpost.goauthentik.io/auth/traefik address: http://authentik.roxedus.com/outpost.goauthentik.io/auth/traefik
trustForwardHeader: true trustForwardHeader: true
authResponseHeaders: authResponseHeaders:
- X-authentik-username - X-authentik-username
@ -20,21 +20,3 @@ spec:
- X-authentik-meta-provider - X-authentik-meta-provider
- X-authentik-meta-app - X-authentik-meta-app
- X-authentik-meta-version - X-authentik-meta-version
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: authentik-foorward-wildcard
spec:
rules:
- host: "*.roxedus.com"
http:
paths:
- pathType: Prefix
path: "/outpost.goauthentik.io/"
backend:
service:
name: ak-outpost-localcluster
port:
number: 9000