Auto-reload cheeztv and fafflix on plugin ConfigMap change #471

Merged
benvin merged 1 commits from benvin/jellyfin-configmap-reloader into main 2026-09-19 12:25:08 +10:00
Member

The inject-plugin-config initContainer re-renders the SSO and LDAP plugin config from the cheeztv/fafflix ConfigMaps on every pod start, so an edit sat inert until someone manually rolled the StatefulSet. Reloader is deployed cluster-wide with autoReloadAll disabled, so each workload has to opt in.

  • annotate both StatefulSets with configmap.reloader.stakater.com/auto: "true"
The inject-plugin-config initContainer re-renders the SSO and LDAP plugin config from the cheeztv/fafflix ConfigMaps on every pod start, so an edit sat inert until someone manually rolled the StatefulSet. Reloader is deployed cluster-wide with autoReloadAll disabled, so each workload has to opt in. - annotate both StatefulSets with configmap.reloader.stakater.com/auto: "true"
unkin-agent added 1 commit 2026-09-19 12:19:32 +10:00
Auto-reload cheeztv and fafflix on plugin ConfigMap change
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
5552142eef
Opt both StatefulSets into Stakater Reloader for ConfigMaps.
Author
Member

apps/base/cheeztv/statefulset.yaml:134, apps/base/fafflix/statefulset.yaml:134 — branding.xml is copied only if [ ! -e ... ], so the restart this annotation triggers still will not propagate branding.xml edits from the plugin ConfigMap; the stated why holds only for SSO-Auth.xml/LDAP-Auth.xml → either manage branding.xml unconditionally like the other two, or scope the PR body to the two files that are actually re-rendered.

apps/base/cheeztv/statefulset.yaml:134, apps/base/fafflix/statefulset.yaml:134 — `branding.xml` is copied only `if [ ! -e ... ]`, so the restart this annotation triggers still will not propagate `branding.xml` edits from the plugin ConfigMap; the stated why holds only for `SSO-Auth.xml`/`LDAP-Auth.xml` → either manage `branding.xml` unconditionally like the other two, or scope the PR body to the two files that are actually re-rendered.
benvin merged commit 34dd70435e into main 2026-09-19 12:25:08 +10:00
benvin deleted branch benvin/jellyfin-configmap-reloader 2026-09-19 12:25:08 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/argocd-apps#471