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
|
apiVersion: v2
|
||||||
appVersion: "14.0"
|
appVersion: "14.0"
|
||||||
version: 4.0.30
|
version: 5.0.0
|
||||||
kubeVersion: '>=1.16.0-0'
|
kubeVersion: '>=1.16.0-0'
|
||||||
name: odoo
|
name: odoo
|
||||||
description: All-in-one business software. Beautiful. Easy-to-use. CRM, Accounting, PM, HR, Procurement, Point of Sale, MRP, Marketing, etc.
|
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
|
- variable: odoo
|
||||||
label: "Odoo Service"
|
label: "Odoo Service"
|
||||||
description: "The Primary service on which the healthcheck runs, often the webUI"
|
description: "Odoo Services"
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
# Include{serviceSelector}
|
# Include{serviceSelector}
|
||||||
- variable: odoo-1
|
- variable: xmlrpcs
|
||||||
label: "Odoo-1 Service Port Configuration"
|
label: "xmlrpcs Service Port Configuration"
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -205,8 +205,8 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 8071
|
default: 8071
|
||||||
- variable: odoo-2
|
- variable: longpolling
|
||||||
label: "Odoo-2 Service Port Configuration"
|
label: "longpolling Service Port Configuration"
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -365,6 +365,49 @@ questions:
|
|||||||
description: "Default"
|
description: "Default"
|
||||||
- value: "Memory"
|
- value: "Memory"
|
||||||
description: "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{persistenceAdvanced}
|
||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
|
|
||||||
|
|||||||
@@ -1,17 +1,11 @@
|
|||||||
image:
|
image:
|
||||||
repository: tccr.io/truecharts/odoo
|
repository: tccr.io/truecharts/odoo
|
||||||
pullPolicy: IfNotPresent
|
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:
|
env:
|
||||||
USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
# HOST: "odoo-db"
|
PORT: 5432
|
||||||
|
|
||||||
envValueFrom:
|
envValueFrom:
|
||||||
PASSWORD:
|
PASSWORD:
|
||||||
@@ -32,11 +26,11 @@ service:
|
|||||||
odoo:
|
odoo:
|
||||||
enabled: true
|
enabled: true
|
||||||
ports:
|
ports:
|
||||||
odoo-1:
|
xmlrpcs:
|
||||||
enabled: true
|
enabled: true
|
||||||
port: 8071
|
port: 8071
|
||||||
targetPort: 8071
|
targetPort: 8071
|
||||||
odoo-2:
|
longpolling:
|
||||||
enabled: true
|
enabled: true
|
||||||
port: 8072
|
port: 8072
|
||||||
targetPort: 8072
|
targetPort: 8072
|
||||||
@@ -48,10 +42,13 @@ persistence:
|
|||||||
addons:
|
addons:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/mnt/extra-addons"
|
mountPath: "/mnt/extra-addons"
|
||||||
|
customconfig:
|
||||||
|
enabled: true
|
||||||
|
mountPath: "/etc/odoo"
|
||||||
|
|
||||||
# Enabled postgres
|
# Enabled postgres
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
existingSecret: "dbcreds"
|
existingSecret: "dbcreds"
|
||||||
postgresqlUsername: odoo
|
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 | |
|
| synapse | main | main | 8008 | TCP | |
|
||||||
| omada-controller | main | main | 8043 | TCP | |
|
| omada-controller | main | main | 8043 | TCP | |
|
||||||
| odoo | main | main | 8069 | TCP | |
|
| odoo | main | main | 8069 | TCP | |
|
||||||
| odoo | odoo | odoo-1 | 8071 | TCP | |
|
| odoo | odoo | xmlrpcs | 8071 | TCP | |
|
||||||
| odoo | odoo | odoo-2 | 8072 | TCP | |
|
| odoo | odoo | longpolling | 8072 | TCP | |
|
||||||
| unifi | comm | comm | 8080 | TCP | |
|
| unifi | comm | comm | 8080 | TCP | |
|
||||||
| calibre | webserver | webserver | 8081 | TCP | |
|
| calibre | webserver | webserver | 8081 | TCP | |
|
||||||
| traccar | main | main | 8082 | TCP | |
|
| traccar | main | main | 8082 | TCP | |
|
||||||
|
|||||||
Reference in New Issue
Block a user