From f2ab2dff67888db794e4258edb6df936f4d188d4 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 23 Aug 2026 12:32:16 +1000 Subject: [PATCH] Auto-roll arr apps on Redis env change via Reloader The *-env ConfigMaps are plain (unhashed) resources consumed by fixed-name envFrom, so adding the Redis env would not restart the running pods and #14 would stay inert until a manual rollout. Annotate the sonarr/radarr/prowlarr Deployments with configmap.reloader.stakater.com/auto:"true" (repo convention; Reloader is deployed in reloader-system) so ArgoCD sync + Reloader roll the apps automatically when the ConfigMap changes. --- apps/base/arrstack/prowlarr/deployment.yaml | 7 +++++++ apps/base/arrstack/radarr/deployment.yaml | 7 +++++++ apps/base/arrstack/sonarr/deployment.yaml | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/apps/base/arrstack/prowlarr/deployment.yaml b/apps/base/arrstack/prowlarr/deployment.yaml index bdc3499..6e41040 100644 --- a/apps/base/arrstack/prowlarr/deployment.yaml +++ b/apps/base/arrstack/prowlarr/deployment.yaml @@ -4,6 +4,13 @@ kind: Deployment metadata: name: prowlarr namespace: arrstack + annotations: + # prowlarr-env is a plain (unhashed) ConfigMap consumed by fixed-name envFrom, + # so editing it does not roll the Deployment on its own. Reloader watches the + # referenced ConfigMap and triggers a rolling restart on change, so adding the + # Redis env activates the #14 features on the next ArgoCD sync without a manual + # `rollout restart`. + configmap.reloader.stakater.com/auto: "true" spec: # Active-active: the -unkin2 fork keeps all state in the shared Postgres # (arrstack-postgres) and coordinates via Postgres advisory locks, so N diff --git a/apps/base/arrstack/radarr/deployment.yaml b/apps/base/arrstack/radarr/deployment.yaml index 39e8dbb..9855d55 100644 --- a/apps/base/arrstack/radarr/deployment.yaml +++ b/apps/base/arrstack/radarr/deployment.yaml @@ -4,6 +4,13 @@ kind: Deployment metadata: name: radarr namespace: arrstack + annotations: + # radarr-env is a plain (unhashed) ConfigMap consumed by fixed-name envFrom, + # so editing it does not roll the Deployment on its own. Reloader watches the + # referenced ConfigMap and triggers a rolling restart on change, so adding the + # Redis env activates the #14 features on the next ArgoCD sync without a manual + # `rollout restart`. + configmap.reloader.stakater.com/auto: "true" spec: # Active-active: the -unkin2 fork keeps all state in the shared Postgres # (arrstack-postgres) and coordinates via Postgres advisory locks, so N diff --git a/apps/base/arrstack/sonarr/deployment.yaml b/apps/base/arrstack/sonarr/deployment.yaml index 05d0551..c4a68fe 100644 --- a/apps/base/arrstack/sonarr/deployment.yaml +++ b/apps/base/arrstack/sonarr/deployment.yaml @@ -4,6 +4,13 @@ kind: Deployment metadata: name: sonarr namespace: arrstack + annotations: + # sonarr-env is a plain (unhashed) ConfigMap consumed by fixed-name envFrom, + # so editing it does not roll the Deployment on its own. Reloader watches the + # referenced ConfigMap and triggers a rolling restart on change, so adding the + # Redis env activates the #14 features on the next ArgoCD sync without a manual + # `rollout restart`. + configmap.reloader.stakater.com/auto: "true" spec: # Active-active: the -unkin2 fork keeps all state in the shared Postgres # (arrstack-postgres) and coordinates via Postgres advisory locks, so N