0eddf060c2
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.
26 lines
824 B
YAML
26 lines
824 B
YAML
---
|
|
# sonarr-kids API key. Seeded out-of-band at
|
|
# kv/kubernetes/namespace/arrstack/default/sonarr-kids (key: apitoken); the
|
|
# default k8s role's templated policy already grants read on
|
|
# kv/data/kubernetes/namespace/{{sa_namespace}}/{{sa_name}}/* for the
|
|
# arrstack/default ServiceAccount, so no terraform-vault change is needed. VSO
|
|
# syncs it into the sonarr-kids-apikey Secret consumed by the Deployment.
|
|
apiVersion: secrets.hashicorp.com/v1beta1
|
|
kind: VaultStaticSecret
|
|
metadata:
|
|
name: sonarr-kids-apikey
|
|
namespace: arrstack
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "0"
|
|
spec:
|
|
destination:
|
|
create: true
|
|
name: sonarr-kids-apikey
|
|
overwrite: true
|
|
hmacSecretData: true
|
|
mount: kv
|
|
path: kubernetes/namespace/arrstack/default/sonarr-kids
|
|
refreshAfter: 5m
|
|
type: kv-v2
|
|
vaultAuthRef: default
|