Commit Graph

16 Commits

Author SHA1 Message Date
213170e5ce backup: skip ./sessions in nightly tar (matches reshape checkpoint) 2026-04-27 20:35:47 +00:00
659dd8c1fa chart: database PVC reads via instance.storage helper 2026-04-27 17:16:56 +00:00
b4d4543657 chart: filestore PVC reads via instance.storage helper 2026-04-27 17:16:54 +00:00
caa58738b7 chart: instance.storage helper resolves override > tier > default 2026-04-27 17:16:51 +00:00
88d855d92e chart: PVC whenDeleted=Delete (no more leaked pgdata on instance delete) 2026-04-27 12:39:09 +00:00
f46e453ed0 chart: db-init initContainer (auto-create tenant DB + base init) + pin -d <code> 2026-04-27 11:55:36 +00:00
Tower Deploy
32869f74e8 Addon init containers: imagePullPolicy=Always so rebuilt images under same tag are picked up 2026-04-27 12:38:10 +03:00
Tower Deploy
9546a243f7 Odoo deployment: PYTHONPATH=/mnt/extra-addons/.python-deps so baked-in addon python deps are importable 2026-04-27 12:30:42 +03:00
Tower Deploy
bad53c4636 Addon initContainer materialization: per-addon image runs as initContainer + copies content into shared emptyDir mounted at /mnt/extra-addons 2026-04-27 00:59:51 +03:00
Tower Deploy
9dace864d8 Backup CronJob: also archive filestore (/var/lib/odoo) to S3 alongside the SQL dump
Pairs each <TS>.sql.gz with a <TS>.filestore.tar.gz under the same prefix; rotation prunes both together. Backup pod runs on the same node as Odoo (podAffinity) and mounts the filestore PVC read-only — RWO permits multiple pods on the same node, so this is safe.

Restore (Tower-side) reads the companion key from S3, scales Odoo to 0, restores DB + filestore, and scales Odoo back up.
2026-04-26 23:33:30 +03:00
git_admin
94fe1bf18b Backups: pipefail on pipeline so pg_dump errors propagate 2026-04-26 21:31:13 +03:00
git_admin
5af1f3a042 Backups: switch to postgres:alpine + apk add aws-cli (Bitnami images gated) 2026-04-26 21:29:37 +03:00
git_admin
3a63da9609 Backups: pg_dump → S3 (MEGA S4); drop local PVC 2026-04-26 21:17:34 +03:00
git_admin
24f879db01 Add daily backups (CronJob + dedicated PVC, 7-day retention) 2026-04-26 21:01:17 +03:00
git_admin
97666c4e2f Add named sizes table (tiny/small/medium/large) 2026-04-26 20:04:39 +03:00
git_admin
a915b31588 Initial chart import from local infrastructure/ 2026-04-26 17:46:59 +03:00