Synapse/manifests/database.yaml

32 lines
467 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: synapse-db
namespace: synapse
spec:
instances: 3
storage:
size: 5Gi
storageClass: redundant-storage-class
bootstrap:
initdb:
database: synapse
owner: synapse
secret:
name: synapse-db
postgresql:
pg_hba:
- host all all all md5
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 500m
memory: 500Mi