mirror of
https://github.com/D4M13N-D3V/comissions-app-argocd.git
synced 2025-03-14 08:15:00 +00:00
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: postgres
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
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'
|
|
source:
|
|
repoURL: https://github.com/comissions-app/argocd.git
|
|
targetRevision: HEAD
|
|
path: charts/postgres
|
|
helm:
|
|
values: |
|
|
postgresqlHost: "postgres"
|
|
postgresqlPort: 5432
|
|
postgresqlUsername: "postgres"
|
|
postgresqlPassword: "postgres"
|
|
postgresqlDatabase: "comissions"
|
|
destination:
|
|
server: 'https://kubernetes.default.svc'
|
|
namespace: 'argocd'
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- ApplyOutOfSyncOnly=true
|
|
- CreateNamespace=true
|