From edc3b4af76ca95fd1dc0bf2f546aaae647d23a4a Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sun, 18 Feb 2024 03:44:53 +0100 Subject: [PATCH] fix(jellyfin): Fix escaping in URL --- apps/k8s01/jellyfin/jellyfin-pdb-mgr/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/k8s01/jellyfin/jellyfin-pdb-mgr/deployment.yaml b/apps/k8s01/jellyfin/jellyfin-pdb-mgr/deployment.yaml index 6e8dfb363..d639890fd 100644 --- a/apps/k8s01/jellyfin/jellyfin-pdb-mgr/deployment.yaml +++ b/apps/k8s01/jellyfin/jellyfin-pdb-mgr/deployment.yaml @@ -9,7 +9,7 @@ #!/bin/sh while true; do - if curl "http://localhost:8096/Sessions\?ApiKey\=$JELLYFIN_KEY" | jq '.[].NowPlayingItem != null' | grep 'true'; then + if curl "http://localhost:8096/Sessions?ApiKey=$JELLYFIN_KEY" | jq '.[].NowPlayingItem != null' | grep 'true'; then kubectl patch poddisruptionbudget --patch '{"spec": {"maxUnavailable": 0}}' jellyfin else kubectl patch poddisruptionbudget --patch '{"spec": {"maxUnavailable": 1}}' jellyfin -- GitLab