mirror of
https://github.com/D4M13N-D3V/comissions-app-argocd.git
synced 2025-03-14 08:15:00 +00:00
updated charts
This commit is contained in:
parent
e318463884
commit
144559476c
@ -18,25 +18,12 @@ spec:
|
||||
spec:
|
||||
project: 'comissions.app'
|
||||
sources:
|
||||
- repoURL: https://github.com/comissions-app/argocd.git
|
||||
targetRevision: HEAD
|
||||
path: charts/postgresql/
|
||||
helm:
|
||||
values: |
|
||||
nameOverride : "comissions-app-db"
|
||||
global:
|
||||
postgresql:
|
||||
auth:
|
||||
username: "postgres"
|
||||
password: "postgres"
|
||||
database: "comissionsapp"
|
||||
postgresqlPassword:
|
||||
- repoURL: https://github.com/comissions-app/argocd.git
|
||||
targetRevision: HEAD
|
||||
path: charts/core-api
|
||||
helm:
|
||||
values: |
|
||||
postgresHost: "comissions-app-db"
|
||||
postgresHost: "postgres"
|
||||
postgresPort: 5432
|
||||
postgresUsername: "postgres"
|
||||
postgresPassword: "postgres"
|
||||
|
42
dev/apps/postgres.yaml
Normal file
42
dev/apps/postgres.yaml
Normal file
@ -0,0 +1,42 @@
|
||||
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
|
||||
path: charts/postgresql/
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user