Merge pull request 'feat: add shared environment PostgreSQL' (#1) from feat/shared-staging-postgres into main

Reviewed-on: #1
This commit is contained in:
eding 2026-09-16 09:08:21 +02:00
commit 4396331c86
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