Skip to content

plex: Its exporter from the upstream image, waiting for the token in Preferences.xml - #6

Merged
andsens merged 1 commit into
mainfrom
plex-exporter-image
Nov 15, 2026
Merged

andsens merged 1 commit into
mainfrom
plex-exporter-image

Conversation

@andsens

@andsens andsens commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator
  • Image: the Plex exporter now uses its published image (ghcr.io/jsclayton/prometheus-plex-exporter, main by digest, since there are no releases), pinned in a Dockerfile and images.lock where Dependabot bumps it.
  • Token: a short sh -c waits until Preferences.xml has PlexOnlineToken, exports it and execs the exporter. The kubelet restarts it when it exits, which replaces the wrapper's restart loop. Waiting keeps the pod Ready, so an unclaimed Plex stays reachable to be claimed.

Checked: manifests, deadnix and options-docs. The token extraction tested under busybox sh. The andsens/nixos-machines NAS payload runs the pinned image.

🤖 Generated with Claude Code

…Preferences.xml

The pinned image (main by digest, no releases) replaces the Nix build from a 2024 commit. A short sh -c waits until
Preferences.xml has the token, exports it and execs the exporter; the kubelet restarts it when it exits, instead of a
loop in a wrapper. Waiting keeps the pod Ready, so an unclaimed Plex stays reachable to be claimed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andsens
andsens enabled auto-merge (squash) November 15, 2026 18:55
@andsens
andsens merged commit cdbd5ac into main Nov 15, 2026
2 checks passed
@andsens
andsens deleted the plex-exporter-image branch November 15, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant