apiVersion: argoproj.io/v1alpha1 kind: Application metadata: 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 targetRevision: 16.7.26 helm: releaseName: postgresql values: | auth: existingSecret: postgresql-secret secretKeys: postgresPasswordKey: postgres-password passwordKey: password usernameKey: username databaseKey: database 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