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 30018a7
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions apps/multimedia/manifests/readarrdb/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
topologyKey: kubernetes.io/hostname
backup:
barmanObjectStore:
destinationPath: s3://postgres/multimedia/readarr
destinationPath: s3://postgres/multimedia/readarr-new
endpointURL: http://main-minio.minio.svc:9000
s3Credentials:
accessKeyId:
Expand All @@ -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-20240728033700
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 30018a7

Please sign in to comment.