From ef536d1882bc19976c3162d877b7a38911b2c06b Mon Sep 17 00:00:00 2001 From: TapTap Date: Sun, 15 Nov 2026 21:50:32 +0000 Subject: [PATCH] docs: describe the destructive PVC upgrade [skip ci] --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f6f94c..b8c408e 100644 --- a/README.md +++ b/README.md @@ -234,7 +234,19 @@ publishes the packaged chart. Before deploying the mood-first version over an old instance, wipe the old database and media: V8 drops the content, but the old mounted files are no -longer referenced and should be removed by the operator. +longer referenced and should be removed by the operator. The old chart used the +same PVC name with a smaller size, and PVCs cannot shrink or be repopulated by +an upgrade, so recreate it: + +```bash +kubectl -n audiomanager scale deployment/audiomanager --replicas=0 +kubectl -n audiomanager delete pvc audiomanager-data +helm upgrade --install audiomanager charts/audiomanager \ + --namespace audiomanager --reset-values \ + --set users.existingSecret=audiomanager-users --set image.tag= +``` + +Old hostPath music/longform files can be deleted manually. There is no import. ## Client