Open rprakashg-redhat opened 2 years ago
const http = new httpm.HttpClient(userAgent, [], { allowRetries: false })
above lines of code in download tool attempt method instead of hard coding should allow clients to pass this,
I can make this change and submit PR if you all are ok with this change
Was this resolved?
no body every responded so I wasn't sure. I have the change in my fork
@rentziass Would really appreciate your 👀 if this approach is ok.
Not being able to set certificates for requests, makes the downloadTool
quite impotent.
I think it would be great if the download tool method in tool cache package should allow a way to set http request options like ignore SSL errors I'm fairly new to this and just not seeing any way to do this. Currently using this to download a cli from an endpoint, its a dev environment and due to SSL cert errors not able to download the tool