Skip to content
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

Support for use of webproxy #946

Closed
andloh opened this issue Feb 18, 2021 · 1 comment
Closed

Support for use of webproxy #946

andloh opened this issue Feb 18, 2021 · 1 comment

Comments

@andloh
Copy link

andloh commented Feb 18, 2021

Describe the bug

This is more of a feature request. Add support to reach the internet (github) through a webproxy.
This is probably already works with the use of HTTP/S_PROXY envvars, but only if you are using PAT for authentication, not for deployment keys.

If your gonna use deployment keys behind a proxy, ssh needs to know how to tunnel the connection. With the use of socat and proxycommand for your ~/.ssh/config, this can be achieved with the following:

host github.com
    hostname ssh.github.com
    port 443
    proxycommand socat - PROXY:your.proxy.ip:%h:%p,proxyport=3128,proxyauth=user:pwd

To do this today with flux2, we have to create our own custom image with socat installed and this config as a configmap + config in the targeted deployment to map the config. This makes it hard to manage and upgrade flux2

Expected behavior

A flag in the installation process to specify your proxy-needs and socat or another similar tool to handle SOCKS in the targeted containers

Below please provide the output of the following commands:

flux --version flux version 0.8.1
@stefanprodan
Copy link
Member

Duplicate of: fluxcd/source-controller#131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants