Using Proxy for action-controller #501
Answered
by
donovanmuller
sandeepraj-chandrakant-bhandari-db
asked this question in
Questions
-
HI, We have been successfully able to run the controller in our dev and uat environments, but when we promoted to production, the github url is accessible only via proxy. Is there a way we can set a proxy to get the token and register the runners? Currently I am getting below error because GitHub is not reachable
|
Beta Was this translation helpful? Give feedback.
Answered by
donovanmuller
Apr 30, 2021
Replies: 1 comment 5 replies
-
@sandeepraj-chandrakant-bhandari-db you can just add the HTTP proxy environment variables to your apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
name: demo-runners
spec:
template:
spec:
env:
- name: http_proxy
value: "http://proxy.example.com:8080"
- name: https_proxy
value: "http://proxy.example.com:8080"
- name: no_proxy
value: "172.20.0.1,*.example.com"
... |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
mumoshu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@sandeepraj-chandrakant-bhandari-db you can just add the HTTP proxy environment variables to your
RunnerDeployment
as below: