Add dedicated pvc for backups
This commit is contained in:
@@ -33,9 +33,8 @@ spec:
|
||||
name: jellystat-secret
|
||||
key: password
|
||||
volumeMounts:
|
||||
- name: backup
|
||||
- name: postgres-data
|
||||
mountPath: /var/lib/postgresql/data
|
||||
subPath: db
|
||||
containers:
|
||||
- name: jellystat
|
||||
image: cyfershepard/jellystat:1.1.6
|
||||
@@ -59,10 +58,12 @@ spec:
|
||||
name: jellystat-secret
|
||||
key: jwt
|
||||
volumeMounts:
|
||||
- name: backup
|
||||
- name: backups
|
||||
mountPath: /app/backend/backup-data
|
||||
subPath: backup
|
||||
volumes:
|
||||
- name: backup
|
||||
- name: postgres-data
|
||||
persistentVolumeClaim:
|
||||
claimName: jellystat-ceph
|
||||
- name: backups
|
||||
persistentVolumeClaim:
|
||||
claimName: jellystat-backups
|
||||
|
||||
Reference in New Issue
Block a user