Compare commits

...

2 Commits

Author SHA1 Message Date
Matthew Fisher
7b024b50d2 Added persitant volume. Change PVC name in deploy 2024-10-13 18:08:48 -05:00
Matthew Fisher
aa47d6dea7 Added service account 2024-10-13 18:05:38 -05:00
3 changed files with 30 additions and 1 deletions

View File

@ -31,7 +31,7 @@ spec:
volumes: volumes:
- name: kavita-config - name: kavita-config
persistentVolumeClaim: persistentVolumeClaim:
claimName: nfs-kavita-data claimName: nfs-kavita-config
- name: kavita-books - name: kavita-books
persistentVolumeClaim: persistentVolumeClaim:
claimName: nfs-kavita-books claimName: nfs-kavita-books

24
pvc.yaml Normal file
View File

@ -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

5
serviceAccount.yaml Normal file
View File

@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: kavita
namespace: kavita