-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow kurtosis to be used behind proxy #1434
Comments
Hey @vanderheijden86 , thanks a ton for suggesting this! As @tedim52 mentioned in Discord, this is probably easiest to do by adding optional keys to the Kurtosis config file that then get passed in to the engine, which in turn will pass it to the Kurtosis API container when it creates enclaves (architecture reference). |
I realise that you're using a somewhat older version of go-git (v5.4.2) in which CloneOptions doesn't contain a property for ProxyOptions. This has been added afterwards --> https://pkg.go.dev/github.com/go-git/go-git/[email protected]#section-readme:~:text=type-,CloneOptions,-¶. // ProxyOptions provides info required for connecting to a proxy.
ProxyOptions transport.ProxyOptions This means I would need to upgrade the go-git version you use, which might break other things that I'm not aware of. How'd you want me to proceed here. Try to upgrade to v5.9.0 of the go-git lib and see what breaks? Or will there be more collateral damage and does it require a more structured effort? |
Upgrading to latest go-git (v.5.9.0) version seemed to go smoothly, build and tests still succeeding. Will proceed. |
Background & motivation
When currently using kurtosis cli behind a corporate proxy, you run into issues with cloning git repositories (for example).
This is caused by the fact that kurtosis doesn't pick up designated proxy environment variables like http_proxy, https_proxy, ftp_proxy and no_proxy.
Desired behaviour
In order for kurtosis to work behind a proxy, it would need to pick up these variables and pass them through to the relevant commands (like git) inside of it that connect to the internet via this proxy.
At minimum these variables should be passed through to the git library used in kurtosis, but potentially also in other libraries or executables that are called via kurtosis. By doing so, users operating behind a proxy can use Kurtosis without encountering connectivity issues related to proxy restrictions.
How important is this to you?
Critical; Kurtosis is unusable for me without it.
The text was updated successfully, but these errors were encountered: