Files
buun-stack/postgres/postgres-cluster-values.gomplate.yaml
2025-11-23 15:02:24 +09:00

32 lines
653 B
YAML

cluster:
instances: 1
# Security configuration for restricted Pod Security Standards
seccompProfile:
type: RuntimeDefault
# Resource configuration (Guaranteed QoS)
resources:
requests:
cpu: 200m
memory: 1Gi
limits:
cpu: 200m
memory: 1Gi
# Storage configuration
storage:
size: {{ .Env.POSTGRES_STORAGE_SIZE }}
# PostgreSQL configuration
postgresql:
parameters:
max_connections: {{ .Env.POSTGRES_MAX_CONNECTIONS | quote }}
initdb:
postInitTemplateSQL:
- CREATE EXTENSION IF NOT EXISTS vector;
enableSuperuserAccess: true
superuserSecret: postgres-cluster-superuser