2021-10-19 12:20:06 +00:00
|
|
|
image:
|
|
|
|
repository: ghcr.io/nicholaswilde/odoo
|
|
|
|
pullPolicy: IfNotPresent
|
2021-10-19 18:25:02 +00:00
|
|
|
tag: version-14.0@sha256:7cff9672ce078f7e2cf132625f0bc0fa68e932955d23e2e8c2ce7c235d5c5f8d
|
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
|
|
|
|
odoo:
|
|
|
|
ports:
|
|
|
|
odoo-1:
|
|
|
|
port: 8071
|
|
|
|
protocol: TCP
|
|
|
|
odoo-2:
|
|
|
|
port: 8072
|
|
|
|
protocol: TCP
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
odoo:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /var/lib/odoo
|
|
|
|
accessMode: ReadWriteOnce
|
|
|
|
size: 1Gi
|
|
|
|
addons:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /mnt/extra-addons
|
|
|
|
accessMode: ReadWriteOnce
|
|
|
|
size: 1Gi
|
|
|
|
|
|
|
|
# Enabled postgres
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: odoo
|
|
|
|
postgresqlDatabase: postgres
|