Automated Manifest Update (#2685)

This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow.

Reviewed-on: #2685
Co-authored-by: gitea-bot <gitea-bot@alexlebens.net>
Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
This commit was merged in pull request #2685.
This commit is contained in:
2025-12-18 02:11:07 +00:00
committed by Alex Lebens
parent 1a353418b7
commit d367f82234

View File

@@ -80,13 +80,13 @@ data:
echo ">> Sleeping for changes to take effect"; echo ">> Sleeping for changes to take effect";
sleep 5; sleep 5;
echo " ";
echo ">> Qbittorrent's post is now:";
HTTP_STATUS=$(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=$(tail -n 1 response_body_check.json | jq -r .listen_port)
LISTEN_PORT=$(cat response_body_check.json | jq -r .listen_port) echo " ";
echo ">> qBittorrent's post is now: $LISTEN_PORT";
[[ "$HTTP_STATUS" == "200" || "$LISTEN_PORT" == "${1}" ]]; if [[ "$HTTP_STATUS" == "200" && "$LISTEN_PORT" == "${1}" ]]; then
echo ">> Port updated successfully!" echo ">> Port updated successfully!"
else else
echo ">> ERROR: HTTP status code: $HTTP_STATUS" echo ">> ERROR: HTTP status code: $HTTP_STATUS"