Add the backup command and fix the sync issue maybe
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
890eeece14
commit
779de2cdb1
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ kind: StatefulSet
|
|||
metadata:
|
||||
name: pg4nc-postgres
|
||||
namespace: nextcloud
|
||||
annotations:
|
||||
k8up.io/backupcommand: /usr/bin/pg_dumpall -U nextcloud
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
|
@ -12,7 +14,7 @@ spec:
|
|||
- name: PGDATA
|
||||
$patch: delete
|
||||
securityContext:
|
||||
fsGroup: 0
|
||||
$patch: delete
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
|
|
Loading…
Add table
Reference in a new issue