-
Notifications
You must be signed in to change notification settings - Fork 64
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
inject env variables for corporate proxy #113
Comments
Hi @nckbgov thanks for the report. |
Hi @FrimIdan, https://github.com/apiclarity/apiclarity/blob/b1f6d4f657cbb9f2ce70355730b873e77c1c94c5/charts/apiclarity/templates/post-install-job-wasm.yaml#L83 needs to have git http(s) config included: git config --global http.proxy http://proxy.acme.com:80 && git config --global https.proxy http://proxy.acme.com:80 In the current version i ran on an ephemeral pod the following command: /bin/bash -c cd /tmp && git config --global http.proxy http://proxy.acme.com:80 && git config --global https.proxy http://proxy.acme.com:80 && git clone -b v0.9.0 https://github.com/apiclarity/apiclarity.git --recurse-submodules && cd apiclarity/wasm-filters && WASM_FILTER_TRACE_BACKEND_ADDRESS=apiclarity-apiclarity.apiclarity.svc.cluster.local ./deploy.sh open5gs |
@nckbgov , ok we can add this line if proxy is used. What about the env variables (HTTPS_PROXY, https_proxy, HTTP_PROXY, http_proxy, no_proxy, NO_PROXY)? |
Good point. In general we inject the 6 variables to all pods. |
If apiclarity needs to run on a cluster behind corporate proxy, wasm post install job fails to complete.
injection of env variables (HTTPS_PROXY, https_proxy, HTTP_PROXY, http_proxy, no_proxy, NO_PROXY) and update git config (git config --global http.proxy, git config --global https.proxy) fixes the issue
The text was updated successfully, but these errors were encountered: