The longhorn volume filled up (workspaces 3.0G + toolchain 1.8G on a
5Gi claim): the daemon died on SQLite disk I/O errors and settled into
CrashLoopBackOff.
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.
The gitea values file only set image.tag, and the helm-values manager
needs a repository in the same image block, so the file produced no
dependency at all and gitea never got a PR.
PhotoPrism and Jellyfin use date tags (YYMMDD, YYYYMMDDNN) that docker
versioning reads as a single huge major number, so maxMajorIncrement
threw away every release more than 500 majors away: 212 tags for
photoprism, 42 for jellyfin.
State gitea's registry and repository in the values file, and give both
date-tagged images regex versioning so each release is a minor bump.
The release runners cannot resolve the in-cluster Service name, so the
binary uploads died on DNS. s3.rhema.rs fronts the same Garage through
Caddy and Traefik, with its own certificate, matching the web face's
shape (Caddy terminates, Traefik routes, bucket by path).
The longhorn instance-manager and engine-image pods carry
longhorn.io/component labels, not app, so the exclusions never matched.
Kyverno stripped their cpu requests at admission, longhorn-manager saw a
spec mismatch and deleted the pod in a loop, and after any node reboot
all longhorn volumes stayed detached with every workload stuck in
ContainerCreating. Match the real labels instead.