42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: odoo-chart
|
|
namespace: {{ .Values.argocd.namespace }}
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "0"
|
|
notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578"
|
|
spec:
|
|
project: {{ .Values.argocd.project }}
|
|
source:
|
|
repoURL: registry-1.docker.io/bitnamicharts
|
|
chart: odoo
|
|
targetRevision: 28.x
|
|
helm:
|
|
releaseName: odoo
|
|
valuesObject:
|
|
odooEmail: {{ .Values.odoo.odooEmail }}
|
|
replicaCount: {{ .Values.odoo.replicaCount }}
|
|
persistence:
|
|
existingClaim: {{ .Values.odoo.dataPvc.name }}
|
|
postgresql:
|
|
enabled: false
|
|
externalDatabase:
|
|
host: odoo-db-rw
|
|
port: 5432
|
|
postgresqlPostgresUser: app
|
|
existingSecret: odoo-db-app
|
|
existingSecretPostgresPasswordKey: password
|
|
|
|
destination:
|
|
server: {{ .Values.destination.server }}
|
|
namespace: {{ .Values.destination.namespace }}
|
|
syncPolicy:
|
|
automated:
|
|
prune: true # Automatically remove resources no longer in the repo
|
|
selfHeal: true # Automatically self-heal when drift is detected
|
|
syncOptions:
|
|
- ApplyOutOfSyncOnly=true
|
|
- ServerSideApply=true
|
|
- CreateNamespace=true
|