Pass the Media widget credentials through to the dashboard host - #524
Draft
ChrisonSimtian wants to merge 1 commit into
Draft
Pass the Media widget credentials through to the dashboard host#524ChrisonSimtian wants to merge 1 commit into
ChrisonSimtian wants to merge 1 commit into
Conversation
Bazarr, Seerr, Plex, Audiobookshelf and qBittorrent tiles can carry live widgets once their credentials reach CT 4001. qBittorrent's already exist in Secrets Manager; the other four are captured from the apps themselves by scripts/capture-dashboard-widget-keys.sh (add-only, mirrors to Actions secrets, regenerates secrets.env). Template, workflow env, podman secrets and the Homepage quadlet's HOMEPAGE_VAR_* exports are wired here. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gives the Bazarr, Seerr, Plex, Audiobookshelf and qBittorrent tiles live widgets (ADR-0012). Draft until the four new secrets exist — see the step below.
What changed
secrets.env.template:BAZARR_API_KEY,SEERR_API_KEY,PLEX_TOKEN,ABS_API_KEY(blank = filled from Secrets Manager).scripts/capture-dashboard-widget-keys.sh: reads each key from the app that owns it (Bazarr config, Seerr settings, Plex preferences; mints a long-lived Audiobookshelf API key namedhomepage-dashboardvia the admin login), stores them in Secrets Manager add-only, mirrors them to this repo's Actions secrets, regeneratessecrets.env. Values are never printed.QBIT_USER/QBIT_PASSWORD, which already exist) and matchingHOMEPAGE_VAR_*exports inhomepage.container. Deploy workflow env passes the new four through.Before merging
Run once, from the repo root on the LAN:
Then merge, converge Monitoring (
deploy-monitoring,apply=true,only=podman-host), and merge the Media widgets PR.Verification
./build.sh: shapes valid. The capture script is syntax-checked; running it was left to a person because it reads credentials out of the apps.PLEX_TOKENis the server's account token, not a scoped key. Plex offers nothing narrower; it lives only as a podman secret on CT 4001 and Homepage proxies it server-side.