add postgres

This commit is contained in:
2025-05-19 14:32:14 -04:00
commit 33175dbe60
7 changed files with 791 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: weyma-pgsql
spec:
instances: 3
storage:
size: 20Gi
storageClass: rook-ceph-block
inheritedMetadata:
labels:
metrics_enabled: "true"
managed:
roles:
- name: williamp
ensure: present
comment: William Peebles
login: true
superuser: true
passwordSecret:
name: williamp-auth
- name: immich
ensure: present
comment: Immich
login: true
passwordSecret:
name: immich-auth