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

fix(jellyfin): Actually patch the PDB

parent f5cddb9f
No related branches found
No related tags found
No related merge requests found
......@@ -10,9 +10,9 @@
while true; do
if curl "http://localhost:8096/Sessions\?ApiKey\=$JELLYFIN_KEY" | jq '.[].NowPlayingItem != null' | grep 'true'; then
kubectl patch --patch '{"spec": {"maxUnavailable:": 0}}' jellyfin
kubectl patch poddisruptionbudget --patch '{"spec": {"maxUnavailable:": 0}}' jellyfin
else
kubectl patch --patch '{"spec": {"maxUnavailable:": 1}}' jellyfin
kubectl patch poddisruptionbudget --patch '{"spec": {"maxUnavailable:": 1}}' jellyfin
fi
sleep 15
done
......
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