Move pgo backup bucket and reconfig peertube pg cluster

This commit is contained in:
Joseph Hanson 2024-01-04 10:39:55 -06:00
parent 9c31fe163b
commit 110781bea4
4 changed files with 8 additions and 6 deletions

View file

@ -5,3 +5,4 @@ kind: Kustomization
namespace: database
resources:
- ./helmrelease.yaml
- ./objectbucketclaim.yaml

View file

@ -3,8 +3,8 @@
apiVersion: objectbucket.io/v1alpha1
kind: ObjectBucketClaim
metadata:
name: pgo-peertube-backup-bucket-v1
name: crunchy-postgres
namespace: monitoring
spec:
bucketName: pgo-peertube-backup-v1
bucketName: crunchy-postgres
storageClassName: ceph-bucket

View file

@ -8,7 +8,6 @@ resources:
# - ./helmrelease.yaml
# - ./ingress.yaml
- ./postgresCluster.yaml
- ./objectbucketclaim.yaml
- ./pvc.yaml
configMapGenerator:
- name: peertube-configmap

View file

@ -13,8 +13,8 @@ spec:
postgresql:
synchronous_commit: "on"
pg_hba:
- host peertube peertube 10.32.0.0/16 md5
- host all peertube 127.0.0.1 md5
- hostnossl all all 10.32.0.0/16 md5
- hostnossl all all all md5
# monitoring:
# pgmonitor:
# exporter:
@ -35,6 +35,8 @@ spec:
databases:
- peertube
options: "SUPERUSER"
password:
type: AlphaNumeric
backups:
pgbackrest:
configuration:
@ -56,6 +58,6 @@ spec:
full: "0 1 * * 0"
differential: "0 1 * * 1-6"
s3:
bucket: "pgo-peertube-backup-v1"
bucket: "crunchy-postgres"
endpoint: "rook-ceph-rgw-ceph-objectstore.rook-ceph.svc"
region: ""