feat(add-ons): Add shared postgres cluster and authentik
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user