{"action":"created","comment":{"url":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/comments/48713026","id":48713026,"diff_hunk":"@@ -137,9 +137,17 @@ def main():\n     # call kubectl with parameters\n     from subprocess import call\n     env = os.environ.copy()\n+\n     if 'KUBERNETES_MASTER' in env:\n         del env['KUBERNETES_MASTER']\n-    rc = call([kubectl_path, \"--server=\" + master + \"/api\"] + args, env=env)\n+\n+    rc = call([\n+        kubectl_path,\n+        \"--server=\" + master + \"/api\",\n+        \"--insecure-skip-tls-verify=\" + str(not verify_certs).lower(),\n+        \"--context=dcos-kubectl\",  # to nil current context settings\n+        \"--username=dcos-kubectl\"  # to avoid username prompt","path":"dcos_kubectl/cli.py","position":14,"original_position":14,"commit_id":"fcd36b0fabe9486635dee21e6bf9251b9c959fcb","original_commit_id":"fcd36b0fabe9486635dee21e6bf9251b9c959fcb","user":{"login":"sttts","id":730123,"avatar_url":"https://avatars.githubusercontent.com/u/730123?v=3","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false},"body":"When we have authentication turned on, yes. Now it's only a dummy value.","created_at":"2016-01-04T09:03:33Z","updated_at":"2016-01-04T09:03:33Z","html_url":"https://github.com/mesosphere/dcos-kubectl/pull/14#discussion_r48713026","pull_request_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/comments/48713026"},"html":{"href":"https://github.com/mesosphere/dcos-kubectl/pull/14#discussion_r48713026"},"pull_request":{"href":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/14","id":54271991,"html_url":"https://github.com/mesosphere/dcos-kubectl/pull/14","diff_url":"https://github.com/mesosphere/dcos-kubectl/pull/14.diff","patch_url":"https://github.com/mesosphere/dcos-kubectl/pull/14.patch","issue_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/issues/14","number":14,"state":"closed","locked":false,"title":"Override current kubeconfig context","user":{"login":"sttts","id":730123,"avatar_url":"https://avatars.githubusercontent.com/u/730123?v=3","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-21T16:00:59Z","updated_at":"2016-01-04T09:03:33Z","closed_at":"2015-12-21T16:03:13Z","merged_at":"2015-12-21T16:03:13Z","merge_commit_sha":"d9788361f31adb0f5ed10f06a96257ca364ac644","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/14/commits","review_comments_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/14/comments","review_comment_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/issues/14/comments","statuses_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/statuses/fcd36b0fabe9486635dee21e6bf9251b9c959fcb","head":{"label":"mesosphere:sttts-overwrite-current-context","ref":"sttts-overwrite-current-context","sha":"fcd36b0fabe9486635dee21e6bf9251b9c959fcb","user":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":37141871,"name":"dcos-kubectl","full_name":"mesosphere/dcos-kubectl","owner":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesosphere/dcos-kubectl","description":"Command line tooling for Kubernetes on DCOS","fork":false,"url":"https://api.github.com/repos/mesosphere/dcos-kubectl","forks_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/forks","keys_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/teams","hooks_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/hooks","issue_events_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/issues/events{/number}","events_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/events","assignees_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/assignees{/user}","branches_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/branches{/branch}","tags_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/tags","blobs_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/statuses/{sha}","languages_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/languages","stargazers_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/stargazers","contributors_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/contributors","subscribers_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/subscribers","subscription_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/subscription","commits_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/contents/{+path}","compare_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/merges","archive_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/downloads","issues_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/issues{/number}","pulls_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls{/number}","milestones_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/milestones{/number}","notifications_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/labels{/name}","releases_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/releases{/id}","created_at":"2015-06-09T15:48:25Z","updated_at":"2015-11-23T15:32:58Z","pushed_at":"2015-12-21T23:21:50Z","git_url":"git://github.com/mesosphere/dcos-kubectl.git","ssh_url":"git@github.com:mesosphere/dcos-kubectl.git","clone_url":"https://github.com/mesosphere/dcos-kubectl.git","svn_url":"https://github.com/mesosphere/dcos-kubectl","homepage":null,"size":40,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"mesosphere:master","ref":"master","sha":"54ab0692a248ec5b1075c7cbb46b5422fae1a420","user":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":37141871,"name":"dcos-kubectl","full_name":"mesosphere/dcos-kubectl","owner":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesosphere/dcos-kubectl","description":"Command line tooling for Kubernetes on DCOS","fork":false,"url":"https://api.github.com/repos/mesosphere/dcos-kubectl","forks_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/forks","keys_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/teams","hooks_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/hooks","issue_events_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/issues/events{/number}","events_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/events","assignees_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/assignees{/user}","branches_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/branches{/branch}","tags_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/tags","blobs_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/statuses/{sha}","languages_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/languages","stargazers_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/stargazers","contributors_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/contributors","subscribers_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/subscribers","subscription_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/subscription","commits_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/contents/{+path}","compare_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/merges","archive_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/downloads","issues_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/issues{/number}","pulls_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls{/number}","milestones_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/milestones{/number}","notifications_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/labels{/name}","releases_url":"https://api.github.com/repos/mesosphere/dcos-kubectl/releases{/id}","created_at":"2015-06-09T15:48:25Z","updated_at":"2015-11-23T15:32:58Z","pushed_at":"2015-12-21T23:21:50Z","git_url":"git://github.com/mesosphere/dcos-kubectl.git","ssh_url":"git@github.com:mesosphere/dcos-kubectl.git","clone_url":"https://github.com/mesosphere/dcos-kubectl.git","svn_url":"https://github.com/mesosphere/dcos-kubectl","homepage":null,"size":40,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/14"},"html":{"href":"https://github.com/mesosphere/dcos-kubectl/pull/14"},"issue":{"href":"https://api.github.com/repos/mesosphere/dcos-kubectl/issues/14"},"comments":{"href":"https://api.github.com/repos/mesosphere/dcos-kubectl/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesosphere/dcos-kubectl/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/mesosphere/dcos-kubectl/statuses/fcd36b0fabe9486635dee21e6bf9251b9c959fcb"}}}}