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