home-server/applications/databases/postgresql/bitnami.yaml

41 lines
974 B
YAML
Raw Normal View History

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
2025-08-16 03:25:28 +00:00
name: postgresql-database
namespace: argocd # Replace with your Argo CD namespace if different
spec:
project: default
source:
repoURL: https://charts.bitnami.com/bitnami
chart: postgresql
2025-08-16 03:20:55 +00:00
targetRevision: 16.7.26
helm:
releaseName: postgresql
values: |
auth:
2025-08-16 03:55:59 +00:00
existingSecret: postgresql-secret
2025-08-16 07:14:26 +00:00
secretKeys:
postgresPasswordKey: postgres-password
passwordKey: password
usernameKey: username
databaseKey: database
2025-08-16 08:32:47 +00:00
postgresql:
initdbScriptsConfigMap: postgresql-init
primary:
persistence:
enabled: true
size: 8Gi
architecture: standalone
destination:
server: https://kubernetes.default.svc
namespace: database
syncPolicy:
automated:
selfHeal: true
prune: false
syncOptions:
- CreateNamespace=true