From 7b024b50d264e8cb9625be094318bb8d76e7e6cb Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Sun, 13 Oct 2024 18:08:48 -0500 Subject: [PATCH] Added persitant volume. Change PVC name in deploy --- deploy.yaml | 2 +- pvc.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 pvc.yaml diff --git a/deploy.yaml b/deploy.yaml index f483ee4..22843ff 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -31,7 +31,7 @@ spec: volumes: - name: kavita-config persistentVolumeClaim: - claimName: nfs-kavita-data + claimName: nfs-kavita-config - name: kavita-books persistentVolumeClaim: claimName: nfs-kavita-books diff --git a/pvc.yaml b/pvc.yaml new file mode 100644 index 0000000..26ff551 --- /dev/null +++ b/pvc.yaml @@ -0,0 +1,24 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: nfs-kavita-config + namespace: kavita +spec: + accessModes: + - ReadWriteOnce + storageClassName: nfs-client + resources: + requests: + storage: 1Gi +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: nfs-kavita-books + namespace: kavita +spec: + accessModes: + - ReadWriteOnce + storageClassName: nfs-client + resources: + requests: + storage: 10Gi