Skip to content

Commit

Permalink
readarr recovery
Browse files Browse the repository at this point in the history
Signed-off-by: paulfantom <[email protected]>
  • Loading branch information
paulfantom committed Jul 31, 2024
1 parent 31c3909 commit e5e9e58
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions apps/multimedia/manifests/readarrdb/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,19 @@ spec:
compression: gzip
retentionPolicy: 7d
bootstrap:
initdb:
database: readarr
owner: readarr
postInitSQL:
- CREATE DATABASE logs;
- ALTER DATABASE logs OWNER TO readarr;
- CREATE DATABASE readarr-cache;
- ALTER DATABASE readarr-cache OWNER TO readarr;
secret:
name: postgres-readarr-user
# initdb:
# database: readarr
# owner: readarr
# postInitSQL:
# - CREATE DATABASE logs;
# - ALTER DATABASE logs OWNER TO readarr;
# - CREATE DATABASE readarr-cache;
# - ALTER DATABASE readarr-cache OWNER TO readarr;
# secret:
# name: postgres-readarr-user
recovery:
backup:
name: postgres-readarr-20240729033700
instances: 2
monitoring:
enablePodMonitor: true
Expand All @@ -43,7 +46,7 @@ spec:
cpu: 130m
memory: 300Mi
storage:
size: 3Gi
size: 4Gi
storageClass: lvm-thin
superuserSecret:
name: postgres-readarr-admin

0 comments on commit e5e9e58

Please sign in to comment.