homek8s/apps/base/sirius-growth/cluster.yaml
Sirius DevOps 73cc883d5e 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.
2026-10-19 03:03:09 -04:00

26 lines
508 B
YAML

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