{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/adb-tests/issues/32","repository_url":"https://api.github.com/repos/projectatomic/adb-tests","labels_url":"https://api.github.com/repos/projectatomic/adb-tests/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/adb-tests/issues/32/comments","events_url":"https://api.github.com/repos/projectatomic/adb-tests/issues/32/events","html_url":"https://github.com/projectatomic/adb-tests/pull/32","id":154334502,"number":32,"title":"Adds user and sudo_user variables in order to detect kube/config","user":{"login":"cdrage","id":6422176,"avatar_url":"https://avatars.githubusercontent.com/u/6422176?v=3","gravatar_id":"","url":"https://api.github.com/users/cdrage","html_url":"https://github.com/cdrage","followers_url":"https://api.github.com/users/cdrage/followers","following_url":"https://api.github.com/users/cdrage/following{/other_user}","gists_url":"https://api.github.com/users/cdrage/gists{/gist_id}","starred_url":"https://api.github.com/users/cdrage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdrage/subscriptions","organizations_url":"https://api.github.com/users/cdrage/orgs","repos_url":"https://api.github.com/users/cdrage/repos","events_url":"https://api.github.com/users/cdrage/events{/privacy}","received_events_url":"https://api.github.com/users/cdrage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-11T20:24:07Z","updated_at":"2016-05-25T12:46:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/projectatomic/adb-tests/pulls/32","html_url":"https://github.com/projectatomic/adb-tests/pull/32","diff_url":"https://github.com/projectatomic/adb-tests/pull/32.diff","patch_url":"https://github.com/projectatomic/adb-tests/pull/32.patch"},"body":"This commit adds environment variables to the Makefile in order to\nexplicit determine that the user that is running the file is indeed\nroot.\n\nThe reasoning behind is that atomicapp now detects what user 'sudo' is\nrunning on.\n\nIf 'sudo atomic run foo' is ran, it detects the user. However, because\nthis script is being ran as root/sudo, the .kube/config file is located\nat /root/.kube/config and thus SUDO_USER and USER env variables need to\nbe explicitly implied.\n\nWithin the providers/kubernetes.sh file, kubectl config commands are\nadded in order to generate the .kube/config file."},"comment":{"url":"https://api.github.com/repos/projectatomic/adb-tests/issues/comments/221564622","html_url":"https://github.com/projectatomic/adb-tests/pull/32#issuecomment-221564622","issue_url":"https://api.github.com/repos/projectatomic/adb-tests/issues/32","id":221564622,"user":{"login":"kadel","id":57206,"avatar_url":"https://avatars.githubusercontent.com/u/57206?v=3","gravatar_id":"","url":"https://api.github.com/users/kadel","html_url":"https://github.com/kadel","followers_url":"https://api.github.com/users/kadel/followers","following_url":"https://api.github.com/users/kadel/following{/other_user}","gists_url":"https://api.github.com/users/kadel/gists{/gist_id}","starred_url":"https://api.github.com/users/kadel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadel/subscriptions","organizations_url":"https://api.github.com/users/kadel/orgs","repos_url":"https://api.github.com/users/kadel/repos","events_url":"https://api.github.com/users/kadel/events{/privacy}","received_events_url":"https://api.github.com/users/kadel/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T12:46:35Z","updated_at":"2016-05-25T12:46:35Z","body":"Maybe one thing: Is this necessary `kubectl config set-credentials default --token=foobar`?"}}
{"actor":{"display_login":"kadel"}}