feat: add shared environment PostgreSQL #1

Merged
eding merged 1 commit from feat/shared-staging-postgres into main 2026-09-16 09:08:21 +02:00
3 changed files with 28 additions and 0 deletions

View file

@ -3,3 +3,5 @@ kind: Kustomization
resources: resources:
- staging.yaml - staging.yaml
- production.yaml - production.yaml
- staging-postgres.yaml
- production-postgres.yaml

View file

@ -0,0 +1,13 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: production-postgres
namespace: production
spec:
instances: 1
enableSuperuserAccess: false
storage:
storageClass: democratic-nfs
size: 5Gi
monitoring:
enablePodMonitor: true

View file

@ -0,0 +1,13 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: staging-postgres
namespace: staging
spec:
instances: 1
enableSuperuserAccess: false
storage:
storageClass: democratic-nfs
size: 5Gi
monitoring:
enablePodMonitor: true