Replies: 3 comments
|
Hi @skokado, We're investigating the root cause and will include a fix in one of the upcoming releases. We'll make sure to notify you once it's available. 🚀 |
0 replies
|
Hi @skokado , |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe
The provider builds its
http.Transportmanually (forskip_ssl_verify), whichleaves
Proxyunset. Unlikehttp.DefaultTransport, it ignores the standardHTTP_PROXY/HTTPS_PROXY/NO_PROXYenvironment variables and always dialsthe Portainer endpoint directly. There is currently no way to use the provider
when Portainer is only reachable through an HTTP(S) proxy.
Describe the solution you'd like
Add
Proxy: http.ProxyFromEnvironmentto the transport — the same behavior ashttp.DefaultTransport. Proxy env vars are honored when set, and it is a no-opwhen unset, so existing users are unaffected. I have a patch ready and can
submit a PR.
Describe alternatives you've considered
proxy_urlprovider attribute: also viable, but env vars are the standardGo convention and need no schema change.
extra tooling for what Go supports natively.
Additional context
No response
All reactions