Added ingress and resource presets
This commit is contained in:
@@ -17,6 +17,7 @@ spec:
|
|||||||
valuesObject:
|
valuesObject:
|
||||||
odooEmail: {{ .Values.odoo.odooEmail }}
|
odooEmail: {{ .Values.odoo.odooEmail }}
|
||||||
replicaCount: {{ .Values.odoo.replicaCount }}
|
replicaCount: {{ .Values.odoo.replicaCount }}
|
||||||
|
resourcesPreset: "None"
|
||||||
persistence:
|
persistence:
|
||||||
existingClaim: {{ .Values.odoo.dataPvc.name }}
|
existingClaim: {{ .Values.odoo.dataPvc.name }}
|
||||||
postgresql:
|
postgresql:
|
||||||
|
|||||||
30
odoo-argocd-apps/templates/odoo-postinstall.yaml
Normal file
30
odoo-argocd-apps/templates/odoo-postinstall.yaml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: odoo-postinstall
|
||||||
|
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.postinstall.repoURL }}
|
||||||
|
targetRevision: {{ .Values.argocd.postinstall.targetRevision }}
|
||||||
|
path: {{ .Values.argocd.postinstall.path }}
|
||||||
|
helm:
|
||||||
|
releaseName: odoo-postinstall
|
||||||
|
valuesObject:
|
||||||
|
tailscaleIngresses:
|
||||||
|
odooHostname: {{ .Values.tailscaleIngresses.odooHostname }}
|
||||||
|
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
|
||||||
@@ -5,6 +5,10 @@ argocd:
|
|||||||
repoURL: "https://git.blarre.net/thomas/helm-charts.git"
|
repoURL: "https://git.blarre.net/thomas/helm-charts.git"
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: odoo-requirements
|
path: odoo-requirements
|
||||||
|
postinstall:
|
||||||
|
repoURL: "https://git.blarre.net/thomas/helm-charts.git"
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: odoo-postinstall
|
||||||
|
|
||||||
destination:
|
destination:
|
||||||
server: "https://kubernetes.default.svc"
|
server: "https://kubernetes.default.svc"
|
||||||
@@ -19,4 +23,8 @@ odoo:
|
|||||||
storageClassName: ''
|
storageClassName: ''
|
||||||
size: 40Gi
|
size: 40Gi
|
||||||
odooEmail: "admin@domain.net"
|
odooEmail: "admin@domain.net"
|
||||||
replicaCount: 1
|
resourcesPreset: "large"
|
||||||
|
replicaCount: 1
|
||||||
|
|
||||||
|
tailscaleIngresses:
|
||||||
|
odooHostname: odoo
|
||||||
Reference in New Issue
Block a user