Bitwarden/manifests/database.yaml

31 lines
481 B
YAML
Raw Normal View History

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