[ci skip] openclaw: persist home directory on NFS

- Switch openclaw-home from emptyDir to NFS (/mnt/main/openclaw/home)
- Persists SOUL.md, IDENTITY.md, sessions, memory DB, telegram state,
  device identity, and all runtime files across pod restarts
- Init container still refreshes openclaw.json and kubeconfig on each start
This commit is contained in:
Viktor Barzin 2026-03-01 16:12:07 +00:00
parent 0f7e7e5969
commit b10d43b7a7
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View file

@ -524,7 +524,10 @@ resource "kubernetes_deployment" "openclaw" {
}
volume {
name = "openclaw-home"
empty_dir {}
nfs {
server = var.nfs_server
path = "/mnt/main/openclaw/home"
}
}
volume {
name = "workspace"