Commit Graph

28 Commits

Author SHA1 Message Date
OdooSky v3
5fc75edafb revert(ingress): drop per-instance redirect IngressRoute (now handled at cluster Traefik entrypoint) 2026-05-05 12:06:15 +02:00
OdooSky v3
53ffb5a041 fix(ingress): add HTTP→HTTPS redirect IngressRoute so bare-hostname http:// stops 404ing 2026-05-05 12:01:16 +02:00
OdooSky Bot
f6cf121966 db-init: rename cloned source database to target's instance code (#347 fast-path correctness) 2026-05-02 22:37:23 +03:00
OdooSky Bot
52c91c6833 fix: fsGroup=101 on Odoo pod (Longhorn PVCs come up root-owned, Odoo crashes on first session write) 2026-05-02 22:30:35 +03:00
OdooSky Bot
f3ab459459 Phase 3b: PVC dataSource + storageClassName plumbing (#347) 2026-05-02 22:06:03 +03:00
OdooSky Bot
51b6735abc skip odoo-builtin rows in addon initContainer loop (regression from #344) 2026-05-02 22:05:06 +03:00
Tower deploy
0cda7072eb feat: per-host Let's Encrypt cert for instances outside tenant wildcard zone 2026-05-02 11:10:49 +03:00
4a4efcabb8 db-init: comment cleanup 2026-04-28 14:00:36 +00:00
aaf027b15f db-init: init BASE_INSTALLED= for set -u safety 2026-04-28 13:52:55 +00:00
32d114e46a odoo-deployment: db-init skips --init when base already installed (fix migrate FK clash) 2026-04-28 13:29:40 +00:00
6168b86c2a backup-cronjob: rotation must not touch checkpoints/exports subdirs (use --delimiter / + strict regex) 2026-04-28 10:58:54 +00:00
760ee75877 backup-cronjob: PGDATABASE = release name (system POSTGRES_DB was empty) 2026-04-28 10:50:01 +00:00
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