feat(add-ons): Add shared postgres cluster and authentik

This commit is contained in:
2026-09-25 01:16:28 +05:30
parent a9b287d06c
commit 4afa2a1e87
11 changed files with 243 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
annotations:
argocd.argoproj.io/sync-wave: "2"
name: authentik
namespace: argocd
spec:
destination:
namespace: authentik
server: https://kubernetes.default.svc
project: default
sources:
- chart: authentik
helm:
values: |
authentik:
error_reporting:
enabled: false
postgresql:
host: postgres-rw.postgres.svc.cluster.local
name: authentik
user: authentik
global:
envFrom:
- secretRef:
name: authentik-secrets
blueprints:
configMaps:
- authentik-blueprints
server:
resources:
limits:
memory: 1Gi
requests:
cpu: 100m
memory: 512Mi
worker:
resources:
limits:
memory: 1Gi
requests:
cpu: 50m
memory: 384Mi
repoURL: https://charts.goauthentik.io
targetRevision: 2026.8.3
- path: infra/authentik
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
targetRevision: main
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
+2
View File
@@ -4,7 +4,9 @@ resources:
- anubis-operator.yaml
- argocd-dashboard.yaml
- argocd-repos.yaml
- authentik.yaml
- cert-manager.yaml
- cnpg.yaml
- postgres.yaml
- sealed-secrets.yaml
- traefik.yaml
+22
View File
@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
name: postgres
namespace: argocd
spec:
destination:
namespace: postgres
server: https://kubernetes.default.svc
project: default
source:
path: infra/postgres
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
targetRevision: main
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true