infra4talos/apps-kustomized/home-assistant/postgres.yaml

23 lines
414 B
YAML

apiVersion: "acid.zalan.do/v1"
kind: postgresql
metadata:
name: homeassistant-postgres
spec:
teamId: homeassistant
volume:
size: 20Gi
storageClass: longhorn-fast
numberOfInstances: 1
users:
homeassistant:
- superuser
- createdb
databases:
homeassistant: homeassistant # dbname: owner
postgresql:
version: "15"
resources:
requests:
cpu: 10m
memory: 1Mi