home-server/applications/30-databases/postgresql/bitnami.yaml
2025-08-16 03:20:55 +00:00

36 lines
812 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: postgresql
namespace: argocd # Replace with your Argo CD namespace if different
spec:
project: default
source:
repoURL: https://charts.bitnami.com/bitnami
chart: postgresql
targetRevision: 16.7.26
helm:
releaseName: postgresql
values: |
auth:
postgresPassword: mysupersecretpassword
username: myuser
password: myuserpassword
database: mydb
primary:
persistence:
enabled: true
size: 8Gi
architecture: standalone
destination:
server: https://kubernetes.default.svc
namespace: database
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- CreateNamespace=true