mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-09 08:41:30 -05:00
add authentik
This commit is contained in:
parent
ed89c7d608
commit
9ea0b8c5df
2 changed files with 16 additions and 1 deletions
7
longhorn/templates/authentik-service.yaml
Normal file
7
longhorn/templates/authentik-service.yaml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
kind: Service
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: ak-outpost-authentik-embedded-outpost
|
||||||
|
spec:
|
||||||
|
type: ExternalName
|
||||||
|
externalName: ak-outpost-authentik-embedded-outpost.authentik.svc.cluster.local
|
||||||
|
|
@ -214,6 +214,14 @@ longhorn:
|
||||||
## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
|
## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
nginx.ingress.kubernetes.io/auth-url: |-
|
||||||
|
http://ak-outpost-authentik-embedded-outpost.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/nginx
|
||||||
|
nginx.ingress.kubernetes.io/auth-signin: |-
|
||||||
|
https://longhorn.durp.info/outpost.goauthentik.io/start?rd=$escaped_request_uri
|
||||||
|
nginx.ingress.kubernetes.io/auth-response-headers: |-
|
||||||
|
Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid
|
||||||
|
nginx.ingress.kubernetes.io/auth-snippet: |
|
||||||
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
## If you're providing your own certificates, please use this to add the certificates as secrets
|
## If you're providing your own certificates, please use this to add the certificates as secrets
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue