sirius-growth: add CNPG Cluster 'portal' (1 instance, 5Gi local-path on siriussec)

Database only. Bootstraps database/owner 'portal' from the
sirius-growth-portal-db basic-auth Secret. No API or route changes.
This commit is contained in:
Sirius DevOps 2026-10-19 03:03:09 -04:00
commit 73cc883d5e
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,26 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: portal
namespace: sirius-growth
spec:
instances: 1
imageName: ghcr.io/cloudnative-pg/postgresql:16
storage:
size: 5Gi
storageClass: local-path
affinity:
nodeSelector:
kubernetes.io/hostname: siriussec
bootstrap:
initdb:
database: portal
owner: portal
secret:
name: sirius-growth-portal-db
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 1Gi