feat(odoo): use official image (#1866)
* feat(odoo): use official image * also add customconf pvc * correctly label the ports * also on manual * update image
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
appVersion: "14.0"
|
||||
version: 4.0.30
|
||||
version: 5.0.0
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
name: odoo
|
||||
description: All-in-one business software. Beautiful. Easy-to-use. CRM, Accounting, PM, HR, Procurement, Point of Sale, MRP, Marketing, etc.
|
||||
|
||||
@@ -152,14 +152,14 @@ questions:
|
||||
|
||||
- variable: odoo
|
||||
label: "Odoo Service"
|
||||
description: "The Primary service on which the healthcheck runs, often the webUI"
|
||||
description: "Odoo Services"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{serviceSelector}
|
||||
- variable: odoo-1
|
||||
label: "Odoo-1 Service Port Configuration"
|
||||
- variable: xmlrpcs
|
||||
label: "xmlrpcs Service Port Configuration"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
@@ -205,8 +205,8 @@ questions:
|
||||
schema:
|
||||
type: int
|
||||
default: 8071
|
||||
- variable: odoo-2
|
||||
label: "Odoo-2 Service Port Configuration"
|
||||
- variable: longpolling
|
||||
label: "longpolling Service Port Configuration"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
@@ -365,6 +365,49 @@ questions:
|
||||
description: "Default"
|
||||
- value: "Memory"
|
||||
description: "Memory"
|
||||
# Include{persistenceAdvanced}
|
||||
- variable: customconfig
|
||||
label: "Custom Config Storage"
|
||||
description: "Stores the Custom Config."
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: "Type of Storage"
|
||||
description: "Sets the persistence type, Anything other than PVC could break rollback!"
|
||||
schema:
|
||||
type: string
|
||||
default: "simplePVC"
|
||||
enum:
|
||||
- value: "simplePVC"
|
||||
description: "PVC (simple)"
|
||||
- value: "simpleHP"
|
||||
description: "HostPath (simple)"
|
||||
- value: "emptyDir"
|
||||
description: "emptyDir"
|
||||
- value: "pvc"
|
||||
description: "pvc"
|
||||
- value: "hostPath"
|
||||
description: "hostPath"
|
||||
# Include{persistenceBasic}
|
||||
- variable: hostPath
|
||||
label: "hostPath"
|
||||
description: "Path inside the container the storage is mounted"
|
||||
schema:
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
type: hostpath
|
||||
- variable: medium
|
||||
label: "EmptyDir Medium"
|
||||
schema:
|
||||
show_if: [["type", "=", "emptyDir"]]
|
||||
type: string
|
||||
default: ""
|
||||
enum:
|
||||
- value: ""
|
||||
description: "Default"
|
||||
- value: "Memory"
|
||||
description: "Memory"
|
||||
# Include{persistenceAdvanced}
|
||||
# Include{persistenceList}
|
||||
|
||||
|
||||
@@ -1,17 +1,11 @@
|
||||
image:
|
||||
repository: tccr.io/truecharts/odoo
|
||||
pullPolicy: IfNotPresent
|
||||
tag: version-14.0@sha256:dec23986ced979e029a78512272e2be18bab60d811bccb3d7ddc4b3241b210e2
|
||||
tag: v15.0@sha256:314cfa4776c8fd0a45974bb0a7211d4d9258d0dd4616130c671f95595a306972
|
||||
|
||||
secret: {}
|
||||
# USER: "odoo"
|
||||
# PASSWORD: "myodoo"
|
||||
|
||||
# See more environment variables in the odoo documentation
|
||||
# https://github.com/nicholaswilde/docker-odoo
|
||||
env:
|
||||
USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||
# HOST: "odoo-db"
|
||||
PORT: 5432
|
||||
|
||||
envValueFrom:
|
||||
PASSWORD:
|
||||
@@ -32,11 +26,11 @@ service:
|
||||
odoo:
|
||||
enabled: true
|
||||
ports:
|
||||
odoo-1:
|
||||
xmlrpcs:
|
||||
enabled: true
|
||||
port: 8071
|
||||
targetPort: 8071
|
||||
odoo-2:
|
||||
longpolling:
|
||||
enabled: true
|
||||
port: 8072
|
||||
targetPort: 8072
|
||||
@@ -48,10 +42,13 @@ persistence:
|
||||
addons:
|
||||
enabled: true
|
||||
mountPath: "/mnt/extra-addons"
|
||||
customconfig:
|
||||
enabled: true
|
||||
mountPath: "/etc/odoo"
|
||||
|
||||
# Enabled postgres
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: odoo
|
||||
postgresqlDatabase: postgres
|
||||
postgresqlDatabase: odoo
|
||||
|
||||
@@ -105,8 +105,8 @@ These defaults can of course be changed, but as we guarantee "sane, working defa
|
||||
| synapse | main | main | 8008 | TCP | |
|
||||
| omada-controller | main | main | 8043 | TCP | |
|
||||
| odoo | main | main | 8069 | TCP | |
|
||||
| odoo | odoo | odoo-1 | 8071 | TCP | |
|
||||
| odoo | odoo | odoo-2 | 8072 | TCP | |
|
||||
| odoo | odoo | xmlrpcs | 8071 | TCP | |
|
||||
| odoo | odoo | longpolling | 8072 | TCP | |
|
||||
| unifi | comm | comm | 8080 | TCP | |
|
||||
| calibre | webserver | webserver | 8081 | TCP | |
|
||||
| traccar | main | main | 8082 | TCP | |
|
||||
|
||||
Reference in New Issue
Block a user