Created
September 17, 2026 08:23
-
-
Save daemonfire300/c6fff6149cb94dfb59f168ce34c21576 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # These affect ONLY the runner-manager | |
| envVars: | |
| - name: HTTP_PROXY | |
| value: http://proxy.example.internal:3128 | |
| - name: HTTPS_PROXY | |
| value: http://proxy.example.internal:3128 | |
| # Critically: keep Kubernetes out of the proxy. | |
| - name: NO_PROXY | |
| value: "localhost,127.0.0.1,10.96.0.1,.svc,.cluster.local" | |
| runners: | |
| config: | | |
| [[runners]] | |
| environment = ["FF_USE_ADVANCED_POD_SPEC_CONFIGURATION=true"] | |
| [runners.kubernetes] | |
| namespace = "gitlab-runner" | |
| # Only the GitLab helper gets the proxy. | |
| [[runners.kubernetes.pod_spec]] | |
| name = "helper-proxy" | |
| patch_type = "strategic" | |
| patch = ''' | |
| containers: | |
| - name: helper | |
| env: | |
| - name: HTTP_PROXY | |
| value: "http://proxy.example.internal:3128" | |
| - name: HTTPS_PROXY | |
| value: "http://proxy.example.internal:3128" | |
| ''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment