36 lines
812 B
YAML
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
|