{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13964","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13964/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13964/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13964/events","html_url":"https://github.com/kubernetes/kubernetes/pull/13964","id":106535452,"number":13964,"title":"Fix easy-rsa download time out in ubuntu deployment script","user":{"login":"liguangbo","id":13741813,"avatar_url":"https://avatars.githubusercontent.com/u/13741813?v=3","gravatar_id":"","url":"https://api.github.com/users/liguangbo","html_url":"https://github.com/liguangbo","followers_url":"https://api.github.com/users/liguangbo/followers","following_url":"https://api.github.com/users/liguangbo/following{/other_user}","gists_url":"https://api.github.com/users/liguangbo/gists{/gist_id}","starred_url":"https://api.github.com/users/liguangbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liguangbo/subscriptions","organizations_url":"https://api.github.com/users/liguangbo/orgs","repos_url":"https://api.github.com/users/liguangbo/repos","events_url":"https://api.github.com/users/liguangbo/events{/privacy}","received_events_url":"https://api.github.com/users/liguangbo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-15T11:23:48Z","updated_at":"2015-09-15T11:29:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13964","html_url":"https://github.com/kubernetes/kubernetes/pull/13964","diff_url":"https://github.com/kubernetes/kubernetes/pull/13964.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/13964.patch"},"body":"Currently when deploying master, the scripts need to [download easy-rsa to generate cert files](https://github.com/kubernetes/kubernetes/blob/master/cluster/saltbase/salt/generate-cert/make-ca-cert.sh#L65).\r\n\r\nIn a private network that needs proxy setting to connect the internet, the deployment scripts will exit on download failure when [calling make-ca-cert.sh](https://github.com/kubernetes/kubernetes/blob/master/cluster/ubuntu/util.sh#L355).\r\n\r\nThis PR is to fix this problem by adding two changes:\r\n1. Add a new variable in `config-default.sh` to define proxy setting,\r\n like `PROXY_SETTING=\"http://proxyserver:port\"`.\r\n2. Change `sudo ~/kube/make-ca-cert.sh` to  `${PROXY_SETTING} sudo -E ~/kube/make-ca-cert.sh ....`(Use -E to preserve environment)."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/140358996","html_url":"https://github.com/kubernetes/kubernetes/pull/13964#issuecomment-140358996","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13964","id":140358996,"user":{"login":"liguangbo","id":13741813,"avatar_url":"https://avatars.githubusercontent.com/u/13741813?v=3","gravatar_id":"","url":"https://api.github.com/users/liguangbo","html_url":"https://github.com/liguangbo","followers_url":"https://api.github.com/users/liguangbo/followers","following_url":"https://api.github.com/users/liguangbo/following{/other_user}","gists_url":"https://api.github.com/users/liguangbo/gists{/gist_id}","starred_url":"https://api.github.com/users/liguangbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liguangbo/subscriptions","organizations_url":"https://api.github.com/users/liguangbo/orgs","repos_url":"https://api.github.com/users/liguangbo/repos","events_url":"https://api.github.com/users/liguangbo/events{/privacy}","received_events_url":"https://api.github.com/users/liguangbo/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T11:29:32Z","updated_at":"2015-09-15T11:29:32Z","body":"@fgrzadkowski Could you please review this PR, Thank you!"}}