prole/conf
chrisfu 80323afd10 Fix Supabase storage class injection: write persistence.*.storageClassName, add synology guard
Root cause: render_supabase.py wrote to deployment.*.storageClass (ignored by Helm chart PVC
templates) instead of persistence.*.storageClassName (_pvc.tpl:43 is the real path). Also
deploy.sh --set persistence.* args only ran in k8s mode, and stale values.generated.json
was reused across deploys. Together these caused Supabase PVCs to fall through to
pi-local-iscsi (pi SD card), crashing the node under memory pressure.

- supabase/helm/render_supabase.py:
  - write persistence.{functions,imgproxy,snippets,storage,deno,minio}.storageClassName
    using the correct Helm chart path (_pvc.tpl:43)
  - add synology guard: raise SystemExit if storage class is not synology/merlin/myrddin
  - remove broken deployment.*.storageClass writes
- supabase/deploy.sh:
  - delete stale values.generated.json before every helm_render_values call
  - fall back to reading SUPABASE_STORAGE_CLASS from cfg file via python3 if env not set
  - add bash synology guard: die if storage class is not iSCSI/NFS mounted
  - extend helm_set_args to include persistence.minio.storageClassName and apply
    --set persistence.* for ALL modes (not just k8s)

Co-authored-by: Junie <junie@jetbrains.com>
2026-03-24 14:39:43 -07:00
..
cnpg-placement Separate k3s and k3d config defaults; normalize k3s image registry refs 2026-03-23 03:48:58 -07:00
dev checkpoint: tighten CNPG k3s storage flow and policy updates 2026-03-23 12:39:03 -07:00
postgresql Refactor to support mode-scoped DB build contexts and versioning 2026-03-22 05:47:50 -07:00
prod Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
service Fix Supabase storage class injection: write persistence.*.storageClassName, add synology guard 2026-03-24 14:39:43 -07:00
test Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
database_versions.json Rename Prole storage objects to Synology and sync deployment updates 2026-03-22 21:50:02 -07:00
port-mapping.cfg Supabase/CNPG stability: pin Supabase to merlin, reduce CNPG to 2 instances, fix supabase_enabled 2026-03-24 13:52:38 -07:00