feat(ebooks): mount calibre-library PVC in book-search for permission fixing

CWA NETWORK_SHARE_MODE=true skips post-import chown, leaving files as
root. book-search now mounts the library to periodically fix permissions
on recently imported books.
This commit is contained in:
Viktor Barzin 2026-03-29 11:31:41 +03:00
parent fed9df8c0e
commit cbea959966

View file

@ -773,6 +773,10 @@ resource "kubernetes_deployment" "book_search" {
name = "stacks-config"
mount_path = "/stacks-config"
}
volume_mount {
name = "calibre-library"
mount_path = "/calibre-library"
}
}
volume {
name = "cwa-ingest"
@ -786,6 +790,12 @@ resource "kubernetes_deployment" "book_search" {
claim_name = module.nfs_audiobookshelf_audiobooks.claim_name
}
}
volume {
name = "calibre-library"
persistent_volume_claim {
claim_name = module.nfs_calibre_library.claim_name
}
}
volume {
name = "stacks-config"
persistent_volume_claim {