feat: add shared environment PostgreSQL #1
|
|
@ -3,3 +3,5 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- staging.yaml
|
- staging.yaml
|
||||||
- production.yaml
|
- production.yaml
|
||||||
|
- staging-postgres.yaml
|
||||||
|
- production-postgres.yaml
|
||||||
|
|
|
||||||
13
namespaces/production-postgres.yaml
Normal file
13
namespaces/production-postgres.yaml
Normal 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
|
||||||
13
namespaces/staging-postgres.yaml
Normal file
13
namespaces/staging-postgres.yaml
Normal 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
|
||||||
Loading…
Reference in a new issue