add postgres
This commit is contained in:
30
postgres/config/cluster.yaml
Normal file
30
postgres/config/cluster.yaml
Normal 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
|
||||
Reference in New Issue
Block a user