Added odoo

This commit is contained in:
2024-11-11 15:43:45 +00:00
parent 8984a8d724
commit e3225f7857
17 changed files with 414 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: odoo-requirements
namespace: {{ .Values.argocd.namespace }}
annotations:
argocd.argoproj.io/sync-wave: "-1"
notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578"
spec:
project: {{ .Values.argocd.project }}
source:
repoURL: {{ .Values.argocd.requirements.repoURL }}
targetRevision: {{ .Values.requirements.targetRevision }}
path: {{ .Values.requirements.path }}
helm:
releaseName: odoo-requirements
valuesObject:
odoo:
dbCluster:
numInstances: {{ .Values.odoo.dbCluster.numInstances }}
size: {{ .Values.odoo.dbCluster.size }}
dataPvc:
name: {{ .Values.odoo.dataPvc.name }}
storageClassName: {{ .Values.odoo.dataPvc.storageClassName }}
size: {{ .Values.odoo.dataPvc.size }}
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