Files
homeprod/kubernetes/infrastructure/mail/stalwart
vhaudiquet 598afce7ce chore(kube): bump chart Helm release stalwart to v1.1.1
Stalwart 0.16 stores cannot be opened by 1.x; data must be copied with
stalwartlabs/stalwart-migrate (v1.0.8) into /var/lib/stalwart/v1 on the data
PVC. The chart-native v1Migrate job is not usable here (no PVC mount, SQL
stores only), so v1Migrate.alreadyDone=true clears the chart guard.

Required runtime sequence before pushing/applying:
1. Snapshot the data-stalwart-stalwart-0 PVC in Longhorn.
2. While 0.16 still runs, incremental migrate from a one-off pod mounting the
   PVC (image stalwartlabs/stalwart-migrate:v1.0.8, UID/GID 2000):
   source RocksDb /var/lib/stalwart, target RocksDb /var/lib/stalwart/v1.
3. Cutover: flux suspend hr stalwart -n stalwart; scale sts to 0;
   run final 'stalwart-migrate run --final --yes'; push; flux resume.
4. After upgrade, restart once with STALWART_UPDATE_ROLE_PERMISSIONS=true
   (extraEnv) to grant new default-role permissions, then remove it.
Expect FTS index rebuild and OAuth re-logins after cutover.
2026-11-23 00:45:52 +01:00
..
2026-07-02 22:57:39 +02:00
2026-07-02 22:57:39 +02:00
2026-07-02 22:57:39 +02:00