2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: docker.io/odoo
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2024-02-02 16:14:40 +00:00
|
|
|
tag: 17.0@sha256:11429ba0fb3ec024dd9dd710a1523bd973f38ef8bcb49b1fa58a3f8c24a6f832
|
2023-10-07 15:48:10 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 101
|
|
|
|
runAsGroup: 101
|
2021-10-19 12:20:06 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 8069
|
2023-08-25 08:27:47 +00:00
|
|
|
odoo:
|
2023-09-22 22:45:08 +00:00
|
|
|
additionalConf: []
|
2023-09-16 08:47:02 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
2023-10-07 15:48:10 +00:00
|
|
|
initContainers:
|
|
|
|
init-db:
|
|
|
|
type: install
|
|
|
|
enabled: true
|
|
|
|
imageSelector: "image"
|
|
|
|
env:
|
|
|
|
ODOO_RC: /etc/odoo/odoo.conf
|
|
|
|
command:
|
|
|
|
- /bin/bash
|
|
|
|
args:
|
|
|
|
- -c
|
|
|
|
- |
|
|
|
|
/usr/bin/odoo --config=/etc/odoo/odoo.conf \
|
|
|
|
--stop-after-init \
|
|
|
|
--without-demo=all \
|
|
|
|
--init=base
|
2023-09-16 08:47:02 +00:00
|
|
|
containers:
|
|
|
|
main:
|
2023-09-22 22:45:08 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /web/health
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /web/health
|
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /web/health
|
2023-09-16 08:47:02 +00:00
|
|
|
env:
|
2023-10-07 15:48:10 +00:00
|
|
|
ODOO_RC: /etc/odoo/odoo.conf
|
2021-10-19 12:20:06 +00:00
|
|
|
persistence:
|
|
|
|
odoo:
|
|
|
|
enabled: true
|
2023-10-07 15:48:10 +00:00
|
|
|
targetSelector:
|
|
|
|
main:
|
|
|
|
main:
|
|
|
|
mountPath: "/var/lib/odoo"
|
|
|
|
init-db:
|
|
|
|
mountPath: "/var/lib/odoo"
|
2021-10-19 12:20:06 +00:00
|
|
|
addons:
|
|
|
|
enabled: true
|
2023-10-07 15:48:10 +00:00
|
|
|
targetSelector:
|
|
|
|
main:
|
|
|
|
main:
|
|
|
|
mountPath: "/mnt/extra-addons"
|
|
|
|
init-db:
|
|
|
|
mountPath: "/mnt/extra-addons"
|
2023-08-25 08:27:47 +00:00
|
|
|
odoo-config:
|
|
|
|
enabled: true
|
|
|
|
type: configmap
|
|
|
|
objectName: odoo-config
|
2023-10-07 15:48:10 +00:00
|
|
|
targetSelector:
|
|
|
|
main:
|
|
|
|
main:
|
|
|
|
mountPath: /etc/odoo/odoo.conf
|
|
|
|
subPath: odoo.conf
|
|
|
|
readOnly: true
|
|
|
|
init-db:
|
|
|
|
mountPath: /etc/odoo/odoo.conf
|
|
|
|
subPath: odoo.conf
|
|
|
|
readOnly: true
|
2021-10-19 12:20:06 +00:00
|
|
|
# Enabled postgres
|
2023-04-11 10:07:17 +00:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: odoo
|
2023-10-07 15:48:10 +00:00
|
|
|
database: odoo
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-04-11 10:07:17 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|