mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-08 00:11:21 -05:00
Update file duplicati-ingress.yaml
This commit is contained in:
parent
f89b415f3c
commit
8a7ab431f6
1 changed files with 20 additions and 22 deletions
|
|
@ -82,6 +82,9 @@ spec:
|
|||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
middlewares:
|
||||
- name: authentik
|
||||
namespace: traefik
|
||||
- match: Host(`duplicati.internal.durp.info`) && PathPrefix(`/`)
|
||||
kind: Rule
|
||||
services:
|
||||
|
|
@ -89,9 +92,6 @@ spec:
|
|||
port: 8200
|
||||
- match: Host(`duplicati.internal.durp.info`) && PathPrefix(`/outpost.goauthentik.io`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: default-auth
|
||||
- name: auth-redirect
|
||||
services:
|
||||
- name: ak-outpost-authentik-embedded-outpost
|
||||
port: 80
|
||||
|
|
@ -99,29 +99,27 @@ spec:
|
|||
secretName: duplicati-tls
|
||||
|
||||
---
|
||||
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: auth-duplicati-middleware
|
||||
name: authentik
|
||||
namespace: traefik
|
||||
spec:
|
||||
plugin:
|
||||
auth:
|
||||
forward:
|
||||
address: http://ak-outpost-authentik-embedded-outpost.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/nginx
|
||||
responseHeaders:
|
||||
- X-authentik-username
|
||||
- X-authentik-groups
|
||||
- X-authentik-email
|
||||
- X-authentik-name
|
||||
- X-authentik-uid
|
||||
authResponseHeaders:
|
||||
- Set-Cookie
|
||||
authHeaderName: X-Authentik-User
|
||||
authResponseHeaderName: X-Authentik-User
|
||||
successStatusCode: 200
|
||||
failureStatusCode: 401
|
||||
signoutRedirectURL: https://duplicati.internal.durp.info/outpost.goauthentik.io/start?rd=$escaped_request_uri
|
||||
forwardAuth:
|
||||
address: http://ak-outpost-authentik-embedded-outpost.authentik.svc.cluster.local:9000/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
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue