2023-07-26 11:51:47 +00:00
|
|
|
apiVersion: postgresql.cnpg.io/v1
|
|
|
|
kind: Cluster
|
2023-03-19 18:16:42 +00:00
|
|
|
metadata:
|
2023-07-26 11:51:47 +00:00
|
|
|
name: vaultwarden-db
|
|
|
|
namespace: vaultwarden
|
2023-03-19 18:16:42 +00:00
|
|
|
spec:
|
2023-07-26 11:51:47 +00:00
|
|
|
instances: 1
|
|
|
|
|
|
|
|
storage:
|
|
|
|
size: 1Gi
|
|
|
|
storageClass: flat-storage-class
|
|
|
|
|
|
|
|
bootstrap:
|
|
|
|
initdb:
|
|
|
|
database: vaultwarden
|
|
|
|
owner: vaultwarden
|
|
|
|
secret:
|
|
|
|
name: vaultwarden-db
|
|
|
|
|
2023-03-19 18:16:42 +00:00
|
|
|
postgresql:
|
2023-07-26 11:51:47 +00:00
|
|
|
pg_hba:
|
|
|
|
- host all all all md5
|
|
|
|
|
2023-03-19 18:16:42 +00:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 100m
|
|
|
|
memory: 100Mi
|
|
|
|
limits:
|
|
|
|
cpu: 500m
|
|
|
|
memory: 500Mi
|