From b1d9bb1cf50f64bcdd509f2fc8908e98afd4cb03 Mon Sep 17 00:00:00 2001 From: Conan Scott Date: Wed, 24 Dec 2025 18:08:46 +1100 Subject: [PATCH] Moved to nfs-csi for flexibility and snapshots --- deployment.yml | 10 +++++----- pv_books.yml | 15 --------------- pv_config.yml | 15 --------------- pvc_books.yml | 5 ++--- pvc_config.yml | 5 ++--- 5 files changed, 9 insertions(+), 41 deletions(-) delete mode 100644 pv_books.yml delete mode 100644 pv_config.yml diff --git a/deployment.yml b/deployment.yml index b08b59e..d3df25a 100644 --- a/deployment.yml +++ b/deployment.yml @@ -30,11 +30,11 @@ spec: image: docker.io/linuxserver/calibre-web:latest env: - name: PUID - value: "1001" + value: "501" - name: PGID - value: "1001" + value: "1000" - name: TZ - value: "Europe/Bucharest" + value: "Australia/Sydney" - name: DOCKER_MODS value: "linuxserver/calibre-web:calibre" ports: @@ -56,7 +56,7 @@ spec: volumes: - name: calibre-config persistentVolumeClaim: - claimName: calibre-config + claimName: calibre-config-csi - name: calibre-books persistentVolumeClaim: - claimName: calibre-books + claimName: calibre-books-csi diff --git a/pv_books.yml b/pv_books.yml deleted file mode 100644 index dd33c74..0000000 --- a/pv_books.yml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: calibre-books - namespace: calibre -spec: - capacity: - storage: 8Gi - nfs: - server: 192.168.0.105 - path: /nfs/NFS/ocp/calibre/books - accessModes: - - ReadWriteOnce - persistentVolumeReclaimPolicy: Retain - storageClassName: nfs diff --git a/pv_config.yml b/pv_config.yml deleted file mode 100644 index 66d214b..0000000 --- a/pv_config.yml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: calibre-config - namespace: calibre -spec: - capacity: - storage: 500Mi - nfs: - server: 192.168.0.105 - path: /nfs/NFS/ocp/calibre/config - accessModes: - - ReadWriteOnce - persistentVolumeReclaimPolicy: Retain - storageClassName: nfs diff --git a/pvc_books.yml b/pvc_books.yml index 4833797..bedb786 100644 --- a/pvc_books.yml +++ b/pvc_books.yml @@ -1,7 +1,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: calibre-books + name: calibre-books-csi namespace: calibre spec: accessModes: @@ -9,5 +9,4 @@ spec: resources: requests: storage: 8Gi - storageClassName: nfs - volumeName: calibre-books + storageClassName: nfs-csi diff --git a/pvc_config.yml b/pvc_config.yml index 7aea955..a3c86c8 100644 --- a/pvc_config.yml +++ b/pvc_config.yml @@ -1,7 +1,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: calibre-config + name: calibre-config-csi namespace: calibre spec: accessModes: @@ -9,5 +9,4 @@ spec: resources: requests: storage: 500Mi - storageClassName: nfs - volumeName: calibre-config + storageClassName: nfs-csi