From 1a353418b7ba6e6987cb49431880258f7d2fb49d Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Thu, 18 Dec 2025 01:55:19 +0000 Subject: [PATCH] Automated Manifest Update (#2684) This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/2684 Co-authored-by: gitea-bot Co-committed-by: gitea-bot --- .../manifests/qbittorrent/ConfigMap-glutun-update-script.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clusters/cl01tl/manifests/qbittorrent/ConfigMap-glutun-update-script.yaml b/clusters/cl01tl/manifests/qbittorrent/ConfigMap-glutun-update-script.yaml index 7a1061922..674a4bdbf 100644 --- a/clusters/cl01tl/manifests/qbittorrent/ConfigMap-glutun-update-script.yaml +++ b/clusters/cl01tl/manifests/qbittorrent/ConfigMap-glutun-update-script.yaml @@ -66,7 +66,7 @@ data: echo " "; echo ">> Updating port with ${1} ..."; - curl -i -X POST --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_update.json --data "json=$PAYLOAD" "${API_ENDPOINT}/app/setPreferences"; + HTTP_STATUS=$(curl -i -X POST --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_update.json --data "json=$PAYLOAD" "${API_ENDPOINT}/app/setPreferences"); if [ "$HTTP_STATUS" == "200" ]; then echo ">> Port set" @@ -82,7 +82,7 @@ data: echo " "; echo ">> Qbittorrent's post is now:"; - curl -i -X GET --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_check.json "${API_ENDPOINT}/app/preferences"; + HTTP_STATUS=$(curl -i -X GET --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_check.json "${API_ENDPOINT}/app/preferences"); LISTEN_PORT=$(cat response_body_check.json | jq -r .listen_port)