mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
add authentik server
This commit is contained in:
3
shared/charts/authentik.disabled/Chart.yaml
Normal file
3
shared/charts/authentik.disabled/Chart.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
version: 1.0.0
|
||||||
|
name: shared
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: authentik.homelab.mortenolsen.pro/v1alpha1
|
||||||
|
kind: AuthentikServer
|
||||||
|
metadata:
|
||||||
|
name: authentik
|
||||||
|
spec:
|
||||||
|
# Reference to a secret containing the PostgreSQL connection URL
|
||||||
|
# The secret must have a key "url" (or specify a different key)
|
||||||
|
postgresSecretRef:
|
||||||
|
name: "{{ .Release.Name }}-authentik"
|
||||||
|
key: url
|
||||||
|
# External hostname for Authentik
|
||||||
|
host: test-auth.olsen.cloud
|
||||||
|
# Optional: Authentik container image
|
||||||
|
# image: ghcr.io/goauthentik/server:latest
|
||||||
|
# Optional: Number of replicas
|
||||||
|
# replicas: 1
|
||||||
|
# Optional: TLS configuration
|
||||||
|
tls:
|
||||||
|
enabled: true
|
||||||
|
secretName: auth-tls
|
||||||
|
|
||||||
6
shared/charts/authentik.disabled/templates/database.yaml
Normal file
6
shared/charts/authentik.disabled/templates/database.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: homelab.mortenolsen.pro/v1
|
||||||
|
kind: PostgresDatabase
|
||||||
|
metadata:
|
||||||
|
name: '{{ .Release.Name }}-authentik'
|
||||||
|
spec:
|
||||||
|
environment: '{{ .Values.globals.environment }}'
|
||||||
10
shared/charts/authentik.disabled/templates/secret.yaml
Normal file
10
shared/charts/authentik.disabled/templates/secret.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: homelab.mortenolsen.pro/v1
|
||||||
|
kind: GenerateSecret
|
||||||
|
metadata:
|
||||||
|
name: "{{ .Release.Name }}-secret"
|
||||||
|
spec:
|
||||||
|
fields:
|
||||||
|
- name: password
|
||||||
|
encoding: hex
|
||||||
|
length: 64
|
||||||
|
|
||||||
1
shared/charts/nats.disabled/values.yaml
Normal file
1
shared/charts/nats.disabled/values.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
Reference in New Issue
Block a user