43 lines
1.1 KiB
YAML
Raw Normal View History

2024-02-10 18:39:14 -05:00
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: core-api
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
2024-02-10 18:39:52 -05:00
path: charts/postgres/
2024-02-10 18:39:14 -05:00
helm:
values: |
nameOverride : "comissions-app-db"
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