---
# Per-app database owned by the prowlarr managed role. The fork's provider runs
# its own schema migrations on first start (advisory-locked, so only one replica
# migrates). retain: the database survives a Database CRD delete.
apiVersion: postgresql.cnpg.io/v1
kind: Database
metadata:
  name: prowlarr-main
  namespace: arrstack
spec:
  cluster:
    name: arrstack-postgres
  name: prowlarr-main
  owner: prowlarr
  databaseReclaimPolicy: retain
