mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-07 17:26:27 +01:00
enable authentik operator
This commit is contained in:
@@ -13,7 +13,7 @@ spec:
|
|||||||
project: foundation
|
project: foundation
|
||||||
source:
|
source:
|
||||||
repoURL: https://mortenolsen.pro/homelab-authentik-operator/
|
repoURL: https://mortenolsen.pro/homelab-authentik-operator/
|
||||||
targetRevision: 0.0.2
|
targetRevision: 0.0.11
|
||||||
chart: authentik-operator
|
chart: authentik-operator
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
apiVersion: homelab.mortenolsen.pro/v1
|
|
||||||
kind: PostgresDatabase
|
|
||||||
metadata:
|
|
||||||
name: '{{ .Release.Name }}-authentik'
|
|
||||||
spec:
|
|
||||||
environment: '{{ .Values.globals.environment }}'
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
apiVersion: homelab.mortenolsen.pro/v1
|
|
||||||
kind: GenerateSecret
|
|
||||||
metadata:
|
|
||||||
name: "{{ .Release.Name }}-secret"
|
|
||||||
spec:
|
|
||||||
fields:
|
|
||||||
- name: password
|
|
||||||
encoding: hex
|
|
||||||
length: 64
|
|
||||||
|
|
||||||
@@ -5,9 +5,18 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
# Reference to a secret containing the PostgreSQL connection URL
|
# Reference to a secret containing the PostgreSQL connection URL
|
||||||
# The secret must have a key "url" (or specify a different key)
|
# The secret must have a key "url" (or specify a different key)
|
||||||
postgresSecretRef:
|
postgresHostSecretRef:
|
||||||
name: "{{ .Release.Name }}-authentik"
|
name: "{{ .Release.Name }}-pg-connection"
|
||||||
key: url
|
key: host
|
||||||
|
postgresUserSecretRef:
|
||||||
|
name: "{{ .Release.Name }}-pg-connection"
|
||||||
|
key: user
|
||||||
|
postgresPasswordSecretRef:
|
||||||
|
name: "{{ .Release.Name }}-pg-connection"
|
||||||
|
key: password
|
||||||
|
postgresNameSecretRef:
|
||||||
|
name: "{{ .Release.Name }}-pg-connection"
|
||||||
|
key: database
|
||||||
# External hostname for Authentik
|
# External hostname for Authentik
|
||||||
host: test-auth.olsen.cloud
|
host: test-auth.olsen.cloud
|
||||||
# Optional: Authentik container image
|
# Optional: Authentik container image
|
||||||
6
shared/charts/authentik/templates/database.yaml
Normal file
6
shared/charts/authentik/templates/database.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: homelab.mortenolsen.pro/v1
|
||||||
|
kind: PostgresDatabase
|
||||||
|
metadata:
|
||||||
|
name: '{{ .Release.Name }}'
|
||||||
|
spec:
|
||||||
|
environment: prod
|
||||||
Reference in New Issue
Block a user