{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12708","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12708/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12708/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12708/events","html_url":"https://github.com/kubernetes/kubernetes/pull/12708","id":100943663,"number":12708,"title":"Replace \"~/.kubernetes_auth\" with \"${KUBECONFIG:-$DEFAULT_KUBECONFIG}\" in util.sh","user":{"login":"hw-qiaolei","id":6071698,"avatar_url":"https://avatars.githubusercontent.com/u/6071698?v=3","gravatar_id":"","url":"https://api.github.com/users/hw-qiaolei","html_url":"https://github.com/hw-qiaolei","followers_url":"https://api.github.com/users/hw-qiaolei/followers","following_url":"https://api.github.com/users/hw-qiaolei/following{/other_user}","gists_url":"https://api.github.com/users/hw-qiaolei/gists{/gist_id}","starred_url":"https://api.github.com/users/hw-qiaolei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hw-qiaolei/subscriptions","organizations_url":"https://api.github.com/users/hw-qiaolei/orgs","repos_url":"https://api.github.com/users/hw-qiaolei/repos","events_url":"https://api.github.com/users/hw-qiaolei/events{/privacy}","received_events_url":"https://api.github.com/users/hw-qiaolei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20no","name":"cla: no","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-08-14T06:17:48Z","updated_at":"2015-08-14T08:46:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/12708","html_url":"https://github.com/kubernetes/kubernetes/pull/12708","diff_url":"https://github.com/kubernetes/kubernetes/pull/12708.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/12708.patch"},"body":"The script cluster/common.sh is a common util that generates kubeconfig data for the created cluster and stores the info to a file defined by a global variable `$DEFAULT_KUBECONFIG` (if it is not overrided by a local variable such as `KUBECONFIG`), and the defination of  `DEFAULT_KUBECONFIG` is:\r\n`DEFAULT_KUBECONFIG=\"${HOME}/.kube/config\"`\r\nIn cluster/{vsphere,rackspace,azure,ubuntu}/util.sh, they wrongly prompt \"The user name and password to use is located in `~/.kubernetes_auth`.\", which actually should be `~/.kube/config` (the value of `DEFAULT_KUBECONFIG`).\r\nPlease be noted that if you override this global variable `DEFAULT_KUBECONFIG` with a local one, such as `KUBECONFIG`, you should change `$DEFAULT_KUBECONFIG` to the value of the variable you defined.\r\nI have validated this on ubuntu 14.04, but not on vsphere, rackspace, azure because of lacking of resources."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/131029155","html_url":"https://github.com/kubernetes/kubernetes/pull/12708#issuecomment-131029155","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12708","id":131029155,"user":{"login":"k8s-bot","id":12551979,"avatar_url":"https://avatars.githubusercontent.com/u/12551979?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-bot","html_url":"https://github.com/k8s-bot","followers_url":"https://api.github.com/users/k8s-bot/followers","following_url":"https://api.github.com/users/k8s-bot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-bot/subscriptions","organizations_url":"https://api.github.com/users/k8s-bot/orgs","repos_url":"https://api.github.com/users/k8s-bot/repos","events_url":"https://api.github.com/users/k8s-bot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-bot/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T08:46:15Z","updated_at":"2015-08-14T08:46:15Z","body":"GCE e2e build/test **passed** for commit 2c93cf4abbaad1635a8fcbac1b043f2aa314efd5.\n* [Build Log](https://storage.cloud.google.com/kubernetes-jenkins/pr-logs/2c93cf4abbaad1635a8fcbac1b043f2aa314efd5/kubernetes-pull-build-test-e2e-gce/5192/build-log.txt)\n* [Test Artifacts](https://console.developers.google.com/storage/browser/kubernetes-jenkins/pr-logs/2c93cf4abbaad1635a8fcbac1b043f2aa314efd5/kubernetes-pull-build-test-e2e-gce/5192/_artifacts/)\n* [Internal Jenkins Results](http://goto.google.com/prkubekins/job/kubernetes-pull-build-test-e2e-gce//5192)\n"}}