Compare commits
3 commits
3ae6b5595d
...
ed10f47edf
Author | SHA1 | Date | |
---|---|---|---|
ed10f47edf | |||
93a10ea9e3 | |||
110781bea4 |
4 changed files with 12 additions and 10 deletions
|
@ -5,3 +5,4 @@ kind: Kustomization
|
|||
namespace: database
|
||||
resources:
|
||||
- ./helmrelease.yaml
|
||||
- ./objectbucketclaim.yaml
|
||||
|
|
|
@ -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
|
|
@ -8,7 +8,6 @@ resources:
|
|||
# - ./helmrelease.yaml
|
||||
# - ./ingress.yaml
|
||||
- ./postgresCluster.yaml
|
||||
- ./objectbucketclaim.yaml
|
||||
- ./pvc.yaml
|
||||
configMapGenerator:
|
||||
- name: peertube-configmap
|
||||
|
|
|
@ -13,12 +13,12 @@ spec:
|
|||
postgresql:
|
||||
synchronous_commit: "on"
|
||||
pg_hba:
|
||||
- host peertube peertube 10.32.0.0/16 md5
|
||||
- host all peertube 127.0.0.1 md5
|
||||
# monitoring:
|
||||
# pgmonitor:
|
||||
# exporter:
|
||||
# image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.4.3-0
|
||||
- hostnossl all all 10.32.0.0/16 md5
|
||||
- hostnossl all all all md5
|
||||
monitoring:
|
||||
pgmonitor:
|
||||
exporter:
|
||||
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.5.0-0
|
||||
|
||||
instances:
|
||||
- name: postgres
|
||||
|
@ -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: ""
|
||||
|
|
Reference in a new issue