Files
argocd-apps/apps/base/arrstack/postgres/database-radarr-kids.yaml
T
unkin-agent 0eddf060c2
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
arrstack: add kids backend tier (sonarr/radarr/nzbget-kids)
Split the arrstack media pipeline into an adult and a kids tier so kids
content lives in its own libraries, databases, and downloader while
reusing the shared prowlarr, CNPG cluster, Valkey, media PVCs, and S3
buckets. Backend workloads only — no routing/ingress or arrproxy changes
in this PR; the adult instances are untouched.

- sonarr-kids/radarr-kids: mirror the adult -unkin fork Deployments
  (same images/tags, 3 active-active replicas), pointed at their own
  Postgres DBs (sonarr-kids-main/radarr-kids-main), UrlBase
  /3df803/sonarr and /3df803/radarr, and kids MediaCover/Backup S3
  prefixes; media mounts use the tvshows/kids and movies/kids subPaths
  of the shared media-tv/media-movies PVCs.
- nzbget-kids: second downloader on its own RWO config PVC, writing
  completed downloads into the kids media subtrees for same-filesystem
  hardlink imports.
- postgres: two managed roles + Database CRDs (sonarr-kids/radarr-kids)
  and their VSO-synced <app>-kids-db credential secrets.
- per-app VMPodScrape for each kids exportarr sidecar; register the
  three new apps in the base kustomization.
2026-08-24 22:06:22 +10:00

16 lines
463 B
YAML

---
# Per-app database owned by the radarr-kids 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: radarr-kids-main
namespace: arrstack
spec:
cluster:
name: arrstack-postgres
name: radarr-kids-main
owner: radarr-kids
databaseReclaimPolicy: retain