Using Proxy for action-controller #501
-
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.
Replies: 2 comments 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.
-
We're locking this discussion because it has not had recent activity and/or other members have asked for more information to assist you but received no response. Thank you for helping us maintain a productive and tidy community for all our members. |
Beta Was this translation helpful? Give feedback.
@sandeepraj-chandrakant-bhandari-db you can just add the HTTP proxy environment variables to your
RunnerDeployment
as below: