Closed imgios closed 4 months ago
Hi @imgios, thanks for reporting this bug! I will take care of it, let's see what's wrong. Thank you also for pointing the correct API to be used 😃
I will create a dedicated branch for this, and i (hopefully) fix the bug using the current workflow (one container inside the job, executing the curl).
PR #23 has been raised.
Issue fixed in #23.
Description
There's an issue when adding qBitTorrent in Prowlarr as download client via the API
ttp://servarr-prowlarr.{{ .Release.Namespace }}.svc.cluster.local:9696/api/v1/downloadclient\
. Moreover, Prowlarr is answering with the status code 400 and the following message:Test was aborted due to an error: Object reference not set to an instance of an object.
.From Prowlarr docs, the request body seems quite different from the one being set in the job:
https://github.com/fonzdm/servarr/blob/810bb482935e99e4a9430e767e3801473a99bdef/servarr/templates/init-downloaders.yaml#L105-L118
Steps to reproduce
Deploy the Helm Chart with any value by using the version available in the
dev
branch.Expected behavior
qBitTorrent getting registered in Prowlarr successfully I guess?
Servarr Helm Chart version
dev
Relevant log output
Chart values
Code of Conduct