feat: add PostgreSQL production cluster GitOps configuration
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
|
||||
metadata:
|
||||
name: postgresql-prod
|
||||
|
||||
spec:
|
||||
instances: 3
|
||||
|
||||
imageName: ghcr.io/cloudnative-pg/postgresql:18.4-system-trixie
|
||||
|
||||
storage:
|
||||
storageClass: longhorn
|
||||
size: 2Gi
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: "500m"
|
||||
memory: "1Gi"
|
||||
limits:
|
||||
cpu: "2"
|
||||
memory: "4Gi"
|
||||
|
||||
bootstrap:
|
||||
initdb:
|
||||
database: radius
|
||||
owner: radius
|
||||
|
||||
postInitApplicationSQLRefs:
|
||||
configMapRefs:
|
||||
- name: postgresql-init
|
||||
key: init.sql
|
||||
Reference in New Issue
Block a user