From 4ae79ff7c6933cbcbe09aa5bbb3721071a4fe5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20R=C3=B8stvik?= Date: Wed, 30 Nov 2022 13:17:51 +0100 Subject: [PATCH] add --- apps/templates/authentik.yaml | 68 +++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 apps/templates/authentik.yaml diff --git a/apps/templates/authentik.yaml b/apps/templates/authentik.yaml new file mode 100644 index 0000000..1001c5e --- /dev/null +++ b/apps/templates/authentik.yaml @@ -0,0 +1,68 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: authentik + namespace: argo-cd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + server: https://kubernetes.default.svc + namespace: authentik + project: default + source: + chart: authentik + helm: + values: | + + image: + repository: ghcr.io/goauthentik/server + tag: 2022.10.0 + + authentik: + error_reporting: + enabled: true + + envValueFrom: + # AUTHENTIK_POSTGRESQL__PASSWORD: + # secretKeyRef: + # key: postgres-password + # name: authentik-postgresql + + AUTHENTIK_SECRET_KEY: + secretKeyRef: + key: AUTHENTIK_SECRET_KEY + name: authentik-secret + + postgresql: + image: + registry: ghcr.io + repository: zcube/bitnami-compat/postgresql + tag: 11.18.0-debian-11-r39 + enabled: true + #auth: + # existingSecret: postgres-secret + # secretKeys: + # userPasswordKey: postgres-password + # username: authentik + # database: authentik + persistence: + enabled: true + storageClass: longhorn + accessModes: + - ReadWriteOnce + redis: + enabled: true + image: + registry: ghcr.io + repository: zcube/bitnami-compat/redis + tag: 6.2.7-debian-11-r39 + + repoURL: https://charts.goauthentik.io + targetRevision: 2022.09.0 + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true