source-controller
source-controller copied to clipboard
Need documentation on Support of Proxy
Hi Team,
It's tough to understand how HTTPS_PROXY works in source controller, what is that exactly, how can I leverage for my use case: I need to access a github in corporate network.
I tried creating a proxy ( Ngnix) for github.com and tried by passing the env vars in the deployment: `
- name: HTTPS_PROXY value: http://proxy.github.com `
somehow, its not working with http /, getting the following error:
{"level":"error","ts":"2023-02-16T10:32:21.549Z","msg":"Failed to get API Group-Resources","error":"Get \"https://10.10.0.1:443/api?timeout=32s\": Bad Request"} {"level":"error","ts":"2023-02-16T10:32:21.549Z","logger":"setup","msg":"unable to start manager","error":"Get \"https://10.10.0.1:443/api?timeout=32s\": Bad Request"}
Kindly help me with the documentation
See https://fluxcd.io/flux/cheatsheets/bootstrap/#using-https-proxy-for-egress-traffic