Damien Ostler 5990cb8c4d fix charts
2024-02-10 18:43:53 -05:00

42 lines
1.0 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: postgres
namespace: argocd
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- git:
repoURL: https://github.com/comissions-app/argocd.git
revision: HEAD
files:
- path: "dev/.config/config.json"
template:
metadata:
name: 'postgres'
spec:
project: 'comissions.app'
sources:
- repoURL: https://github.com/comissions-app/argocd.git
targetRevision: HEAD
path: charts/postgresql/
helm:
values: |
global:
postgresql:
auth:
username: "postgres"
password: "postgres"
database: "comissionsapp"
destination:
server: 'https://kubernetes.default.svc'
namespace: 'argocd'
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- ApplyOutOfSyncOnly=true
- CreateNamespace=true