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:
parent
fed9df8c0e
commit
cbea959966
1 changed files with 10 additions and 0 deletions
|
|
@ -773,6 +773,10 @@ resource "kubernetes_deployment" "book_search" {
|
||||||
name = "stacks-config"
|
name = "stacks-config"
|
||||||
mount_path = "/stacks-config"
|
mount_path = "/stacks-config"
|
||||||
}
|
}
|
||||||
|
volume_mount {
|
||||||
|
name = "calibre-library"
|
||||||
|
mount_path = "/calibre-library"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
volume {
|
volume {
|
||||||
name = "cwa-ingest"
|
name = "cwa-ingest"
|
||||||
|
|
@ -786,6 +790,12 @@ resource "kubernetes_deployment" "book_search" {
|
||||||
claim_name = module.nfs_audiobookshelf_audiobooks.claim_name
|
claim_name = module.nfs_audiobookshelf_audiobooks.claim_name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
volume {
|
||||||
|
name = "calibre-library"
|
||||||
|
persistent_volume_claim {
|
||||||
|
claim_name = module.nfs_calibre_library.claim_name
|
||||||
|
}
|
||||||
|
}
|
||||||
volume {
|
volume {
|
||||||
name = "stacks-config"
|
name = "stacks-config"
|
||||||
persistent_volume_claim {
|
persistent_volume_claim {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue