2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/odoo
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2021-12-03 14:07:49 +00:00
|
|
|
tag: version-14.0@sha256:dec23986ced979e029a78512272e2be18bab60d811bccb3d7ddc4b3241b210e2
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
secret: {}
|
|
|
|
# USER: "odoo"
|
|
|
|
# PASSWORD: "myodoo"
|
|
|
|
|
|
|
|
# See more environment variables in the odoo documentation
|
|
|
|
# https://github.com/nicholaswilde/docker-odoo
|
|
|
|
env: {}
|
|
|
|
# HOST: "odoo-db"
|
|
|
|
|
|
|
|
envTpl:
|
|
|
|
USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 8069
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 8069
|
2021-10-19 12:20:06 +00:00
|
|
|
odoo:
|
2021-11-20 23:20:50 +00:00
|
|
|
enabled: true
|
2021-10-19 12:20:06 +00:00
|
|
|
ports:
|
|
|
|
odoo-1:
|
2021-11-20 23:20:50 +00:00
|
|
|
enabled: true
|
2021-10-19 12:20:06 +00:00
|
|
|
port: 8071
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 8071
|
2021-10-19 12:20:06 +00:00
|
|
|
odoo-2:
|
2021-11-20 23:20:50 +00:00
|
|
|
enabled: true
|
2021-10-19 12:20:06 +00:00
|
|
|
port: 8072
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 8072
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
odoo:
|
|
|
|
enabled: true
|
2021-11-14 19:19:16 +00:00
|
|
|
mountPath: "/var/lib/odoo"
|
2021-10-19 12:20:06 +00:00
|
|
|
addons:
|
|
|
|
enabled: true
|
2021-11-14 19:19:16 +00:00
|
|
|
mountPath: "/mnt/extra-addons"
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
# Enabled postgres
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: odoo
|
|
|
|
postgresqlDatabase: postgres
|