authentik.{{ .Values.global.rootSubDomain }}y

This commit is contained in:
Ari Sosnovsky committed 2024-07-17 18:18:51 -04:00
1 parent 9019308784
commit b575180eed
3 files changed
+13 -13

No files matched your search

+7 -7
View File
@@ -2,12 +2,12 @@
apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute kind: IngressRoute
metadata: metadata:
name: authentik.core.home.{{ .Values.global.domain }} name: authentik.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}
namespace: chart-authentik namespace: chart-authentik
spec: spec:
routes: routes:
- kind: Rule - kind: Rule
match: "Host(`authentik.core.home.{{ .Values.global.domain }}`)" match: "Host(`authentik.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}`)"
middlewares: middlewares:
- name: forwardauth-authentik - name: forwardauth-authentik
namespace: chart-authentik namespace: chart-authentik
@@ -18,7 +18,7 @@ spec:
namespace: chart-authentik namespace: chart-authentik
port: 80 port: 80
- kind: Rule - kind: Rule
match: "Host(`authentik.core.home.{{ .Values.global.domain }}`) && PathPrefix(`/outpost.goauthentik.io/`)" match: "Host(`authentik.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}`) && PathPrefix(`/outpost.goauthentik.io/`)"
priority: 15 priority: 15
services: services:
- kind: Service - kind: Service
@@ -27,9 +27,9 @@ spec:
port: 80 port: 80
{{ if .Values.global.tls.enabled }} {{ if .Values.global.tls.enabled }}
tls: tls:
secretName: tls-authentik.core.home.{{ .Values.global.domain }} secretName: tls-authentik.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}
domains: domains:
- main: authentik.core.home.{{ .Values.global.domain }} - main: authentik.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}
{{ end }} {{ end }}
--- ---
apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
@@ -39,7 +39,7 @@ metadata:
namespace: chart-authentik namespace: chart-authentik
spec: spec:
forwardAuth: forwardAuth:
address: http://authentik.core.home.{{ .Values.global.domain }}/outpost.goauthentik.io/auth/traefik address: http://authentik.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}/outpost.goauthentik.io/auth/traefik
trustForwardHeader: true trustForwardHeader: true
authResponseHeaders: authResponseHeaders:
- X-authentik-username - X-authentik-username
@@ -55,7 +55,7 @@ spec:
- X-authentik-meta-version - X-authentik-meta-version
--- ---
{{ if .Values.global.tls.enabled }} {{ if .Values.global.tls.enabled }}
{{ include "homelab.ingress.domain.tls" (dict "global" .Values.global "namespace" "chart-authentik" "prefix" "authentik.core.home" "domain" .Values.global.domain ) }} {{ include "homelab.ingress.domain.tls" (dict "global" .Values.global "namespace" "chart-authentik" "prefix" "authentik.{{ .Values.global.rootSubDomain }}" "domain" .Values.global.domain ) }}
--- ---
apiVersion: external-secrets.io/v1beta1 apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret kind: ExternalSecret
+1 -1
View File
@@ -35,7 +35,7 @@ services:
# service: "authentik-server" # service: "authentik-server"
# namespace: "chart-authentik" # namespace: "chart-authentik"
# group: "Core" # group: "Core"
# icon: "https://authentik.core.home.sosnovsky.ca/static/dist/assets/icons/icon.png" # icon: "https://authentik.home.sosnovsky.ca/static/dist/assets/icons/icon.png"
# root services # root services
- prefix: "demo" - prefix: "demo"
service: "dummy-app" service: "dummy-app"
+5 -5
View File
@@ -1,5 +1,5 @@
authentik: authentik:
cookie_domain: authentik.core.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }} cookie_domain: {{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}
email: email:
from: {{ .Values.global.smtp.email }} from: {{ .Values.global.smtp.email }}
host: postfix.email.svc.cluster.local host: postfix.email.svc.cluster.local
@@ -20,16 +20,16 @@ server:
annotations: annotations:
gethomepage.dev/enabled: 'true' gethomepage.dev/enabled: 'true'
gethomepage.dev/group: Core gethomepage.dev/group: Core
gethomepage.dev/icon: 'https://authentik.core.home.{{ .Values.global.domain }}/static/dist/assets/icons/icon.png' gethomepage.dev/icon: 'https://authentik.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}/static/dist/assets/icons/icon.png'
gethomepage.dev/name: authentik@chart-authentik gethomepage.dev/name: authentik@chart-authentik
gethomepage.dev/siteMonitor: 'http://authentik-server.chart-authentik.svc.cluster.local:80/' gethomepage.dev/siteMonitor: 'http://authentik-server.chart-authentik.svc.cluster.local:80/'
hosts: hosts:
- authentik.core.home.{{ .Values.global.domain }} - authentik.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- authentik.core.home.{{ .Values.global.domain }} - authentik.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}
secretName: tls-authentik.core.home.{{ .Values.global.domain }} secretName: tls-authentik.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}
https: false https: false
global: global:
envFrom: envFrom: