Compare commits
3 commits
3ae6b5595d
...
ed10f47edf
Author | SHA1 | Date | |
---|---|---|---|
ed10f47edf | |||
93a10ea9e3 | |||
110781bea4 |
5 changed files with 13 additions and 11 deletions
|
@ -5,3 +5,4 @@ kind: Kustomization
|
||||||
namespace: database
|
namespace: database
|
||||||
resources:
|
resources:
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
|
- ./objectbucketclaim.yaml
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
apiVersion: objectbucket.io/v1alpha1
|
apiVersion: objectbucket.io/v1alpha1
|
||||||
kind: ObjectBucketClaim
|
kind: ObjectBucketClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: pgo-peertube-backup-bucket-v1
|
name: crunchy-postgres
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
bucketName: pgo-peertube-backup-v1
|
bucketName: crunchy-postgres
|
||||||
storageClassName: ceph-bucket
|
storageClassName: ceph-bucket
|
|
@ -11,7 +11,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: kube-prometheus-stack
|
chart: kube-prometheus-stack
|
||||||
version: 55.5.1
|
version: 55.5.2
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: prometheus-community
|
name: prometheus-community
|
||||||
|
|
|
@ -8,7 +8,6 @@ resources:
|
||||||
# - ./helmrelease.yaml
|
# - ./helmrelease.yaml
|
||||||
# - ./ingress.yaml
|
# - ./ingress.yaml
|
||||||
- ./postgresCluster.yaml
|
- ./postgresCluster.yaml
|
||||||
- ./objectbucketclaim.yaml
|
|
||||||
- ./pvc.yaml
|
- ./pvc.yaml
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: peertube-configmap
|
- name: peertube-configmap
|
||||||
|
|
|
@ -13,12 +13,12 @@ spec:
|
||||||
postgresql:
|
postgresql:
|
||||||
synchronous_commit: "on"
|
synchronous_commit: "on"
|
||||||
pg_hba:
|
pg_hba:
|
||||||
- host peertube peertube 10.32.0.0/16 md5
|
- hostnossl all all 10.32.0.0/16 md5
|
||||||
- host all peertube 127.0.0.1 md5
|
- hostnossl all all all md5
|
||||||
# monitoring:
|
monitoring:
|
||||||
# pgmonitor:
|
pgmonitor:
|
||||||
# exporter:
|
exporter:
|
||||||
# image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.4.3-0
|
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.5.0-0
|
||||||
|
|
||||||
instances:
|
instances:
|
||||||
- name: postgres
|
- name: postgres
|
||||||
|
@ -35,6 +35,8 @@ spec:
|
||||||
databases:
|
databases:
|
||||||
- peertube
|
- peertube
|
||||||
options: "SUPERUSER"
|
options: "SUPERUSER"
|
||||||
|
password:
|
||||||
|
type: AlphaNumeric
|
||||||
backups:
|
backups:
|
||||||
pgbackrest:
|
pgbackrest:
|
||||||
configuration:
|
configuration:
|
||||||
|
@ -56,6 +58,6 @@ spec:
|
||||||
full: "0 1 * * 0"
|
full: "0 1 * * 0"
|
||||||
differential: "0 1 * * 1-6"
|
differential: "0 1 * * 1-6"
|
||||||
s3:
|
s3:
|
||||||
bucket: "pgo-peertube-backup-v1"
|
bucket: "crunchy-postgres"
|
||||||
endpoint: "rook-ceph-rgw-ceph-objectstore.rook-ceph.svc"
|
endpoint: "rook-ceph-rgw-ceph-objectstore.rook-ceph.svc"
|
||||||
region: ""
|
region: ""
|
||||||
|
|
Reference in a new issue