feat(chart): expose Odoo runtime knobs (B-1) — version 0.1.11

- Adds odoo.{workers,limitTime*,limitMemory*,maxCronThreads,serverWideModules,dbFilter,extraArgs} knobs
- New instance.odooArgs helper renders flags only when set
- Empty odoo block byte-identical to previous chart output
This commit is contained in:
OdooSky v3
2026-05-13 21:42:33 +02:00
parent 8f3cf36711
commit ec63eca5ba
4 changed files with 84 additions and 18 deletions

View File

@@ -136,6 +136,27 @@ odoo:
# Filestore PVC size (Odoo's /var/lib/odoo).
filestoreSize: 10Gi
# Runtime knobs — null leaves Odoo's internal default in place
# (chart emits no flag for that knob). All keys optional. Overlays
# without this block render the exact args list the chart emitted
# before runtime-knob support landed.
#
# Operator UX surfaces these on the instance Settings tab.
# Basic group (workers / limit* / maxCronThreads) is editable by
# tenant operators. Advanced (serverWideModules / dbFilter /
# extraArgs) is super-admin only. See
# docs/PLAN_INSTANCE_CONFIG_AND_DBTOOLS.md.
workers: null
maxCronThreads: null
limitTimeCpu: null # seconds
limitTimeReal: null # seconds
limitTimeRealCron: null # seconds
limitMemorySoft: null # bytes
limitMemoryHard: null # bytes
serverWideModules: null # list[string], e.g. ["web", "queue_job"]
dbFilter: null # regex; null → ^<instance.code>$
extraArgs: [] # list[string], escape hatch
# Addons selected for this instance. Each entry is a tagged image in
# the cluster-local registry (deployed by cluster-platform-v3 chart).
# The chart renders one initContainer per entry that copies the