Skip to content
Snippets Groups Projects
Verified Commit 2b5788f0 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(jellyfin): Image doesn't have curl 8.3.0

parent 3bb44ffd
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
#!/bin/sh
while true; do
if curl --variable %JELLYFIN_KEY 'http://localhost:8096/Sessions\?ApiKey\={{JELLYFIN_KEY:url}}' | jq '.[].NowPlayingItem != null' | grep 'true'; then
if curl "http://localhost:8096/Sessions\?ApiKey\=$JELLYFIN_KEY" | jq '.[].NowPlayingItem != null' | grep 'true'; then
kubectl patch --patch '{"spec": {"maxUnavailable:": 0}}' jellyfin
else
kubectl patch --patch '{"spec": {"maxUnavailable:": 1}}' jellyfin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment