{"action":"opened","number":383,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubectl/pulls/383","id":178166004,"html_url":"https://github.com/kubernetes/kubectl/pull/383","diff_url":"https://github.com/kubernetes/kubectl/pull/383.diff","patch_url":"https://github.com/kubernetes/kubectl/pull/383.patch","issue_url":"https://api.github.com/repos/kubernetes/kubectl/issues/383","number":383,"state":"open","locked":false,"title":"Return rest config and regular config  from pluginutil Init method","user":{"login":"jberkhahn","id":5873242,"avatar_url":"https://avatars0.githubusercontent.com/u/5873242?v=4","gravatar_id":"","url":"https://api.github.com/users/jberkhahn","html_url":"https://github.com/jberkhahn","followers_url":"https://api.github.com/users/jberkhahn/followers","following_url":"https://api.github.com/users/jberkhahn/following{/other_user}","gists_url":"https://api.github.com/users/jberkhahn/gists{/gist_id}","starred_url":"https://api.github.com/users/jberkhahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jberkhahn/subscriptions","organizations_url":"https://api.github.com/users/jberkhahn/orgs","repos_url":"https://api.github.com/users/jberkhahn/repos","events_url":"https://api.github.com/users/jberkhahn/events{/privacy}","received_events_url":"https://api.github.com/users/jberkhahn/received_events","type":"User","site_admin":false},"body":"-add namespace overriding based on kubectl plugin env var\r\n\r\nWe added namespace overriding in svcat's standalone mode, so we need to be able to override it in plugin mode as well. I figured while I was in here, I might as well make the init method return the whole config, in case we need to pull anything off it in the future.\r\n\r\nThanks!\r\n","created_at":"2018-03-28T21:13:57Z","updated_at":"2018-03-28T21:13:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubectl/pulls/383/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubectl/pulls/383/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubectl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubectl/issues/383/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubectl/statuses/b212714c998b773c1ea4a109b0b4118e599ac75b","head":{"label":"jberkhahn:return_config","ref":"return_config","sha":"b212714c998b773c1ea4a109b0b4118e599ac75b","user":{"login":"jberkhahn","id":5873242,"avatar_url":"https://avatars0.githubusercontent.com/u/5873242?v=4","gravatar_id":"","url":"https://api.github.com/users/jberkhahn","html_url":"https://github.com/jberkhahn","followers_url":"https://api.github.com/users/jberkhahn/followers","following_url":"https://api.github.com/users/jberkhahn/following{/other_user}","gists_url":"https://api.github.com/users/jberkhahn/gists{/gist_id}","starred_url":"https://api.github.com/users/jberkhahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jberkhahn/subscriptions","organizations_url":"https://api.github.com/users/jberkhahn/orgs","repos_url":"https://api.github.com/users/jberkhahn/repos","events_url":"https://api.github.com/users/jberkhahn/events{/privacy}","received_events_url":"https://api.github.com/users/jberkhahn/received_events","type":"User","site_admin":false},"repo":{"id":114307633,"name":"kubectl","full_name":"jberkhahn/kubectl","owner":{"login":"jberkhahn","id":5873242,"avatar_url":"https://avatars0.githubusercontent.com/u/5873242?v=4","gravatar_id":"","url":"https://api.github.com/users/jberkhahn","html_url":"https://github.com/jberkhahn","followers_url":"https://api.github.com/users/jberkhahn/followers","following_url":"https://api.github.com/users/jberkhahn/following{/other_user}","gists_url":"https://api.github.com/users/jberkhahn/gists{/gist_id}","starred_url":"https://api.github.com/users/jberkhahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jberkhahn/subscriptions","organizations_url":"https://api.github.com/users/jberkhahn/orgs","repos_url":"https://api.github.com/users/jberkhahn/repos","events_url":"https://api.github.com/users/jberkhahn/events{/privacy}","received_events_url":"https://api.github.com/users/jberkhahn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jberkhahn/kubectl","description":"Issue tracker and mirror of kubectl code","fork":true,"url":"https://api.github.com/repos/jberkhahn/kubectl","forks_url":"https://api.github.com/repos/jberkhahn/kubectl/forks","keys_url":"https://api.github.com/repos/jberkhahn/kubectl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jberkhahn/kubectl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jberkhahn/kubectl/teams","hooks_url":"https://api.github.com/repos/jberkhahn/kubectl/hooks","issue_events_url":"https://api.github.com/repos/jberkhahn/kubectl/issues/events{/number}","events_url":"https://api.github.com/repos/jberkhahn/kubectl/events","assignees_url":"https://api.github.com/repos/jberkhahn/kubectl/assignees{/user}","branches_url":"https://api.github.com/repos/jberkhahn/kubectl/branches{/branch}","tags_url":"https://api.github.com/repos/jberkhahn/kubectl/tags","blobs_url":"https://api.github.com/repos/jberkhahn/kubectl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jberkhahn/kubectl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jberkhahn/kubectl/git/refs{/sha}","trees_url":"https://api.github.com/repos/jberkhahn/kubectl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jberkhahn/kubectl/statuses/{sha}","languages_url":"https://api.github.com/repos/jberkhahn/kubectl/languages","stargazers_url":"https://api.github.com/repos/jberkhahn/kubectl/stargazers","contributors_url":"https://api.github.com/repos/jberkhahn/kubectl/contributors","subscribers_url":"https://api.github.com/repos/jberkhahn/kubectl/subscribers","subscription_url":"https://api.github.com/repos/jberkhahn/kubectl/subscription","commits_url":"https://api.github.com/repos/jberkhahn/kubectl/commits{/sha}","git_commits_url":"https://api.github.com/repos/jberkhahn/kubectl/git/commits{/sha}","comments_url":"https://api.github.com/repos/jberkhahn/kubectl/comments{/number}","issue_comment_url":"https://api.github.com/repos/jberkhahn/kubectl/issues/comments{/number}","contents_url":"https://api.github.com/repos/jberkhahn/kubectl/contents/{+path}","compare_url":"https://api.github.com/repos/jberkhahn/kubectl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jberkhahn/kubectl/merges","archive_url":"https://api.github.com/repos/jberkhahn/kubectl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jberkhahn/kubectl/downloads","issues_url":"https://api.github.com/repos/jberkhahn/kubectl/issues{/number}","pulls_url":"https://api.github.com/repos/jberkhahn/kubectl/pulls{/number}","milestones_url":"https://api.github.com/repos/jberkhahn/kubectl/milestones{/number}","notifications_url":"https://api.github.com/repos/jberkhahn/kubectl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jberkhahn/kubectl/labels{/name}","releases_url":"https://api.github.com/repos/jberkhahn/kubectl/releases{/id}","deployments_url":"https://api.github.com/repos/jberkhahn/kubectl/deployments","created_at":"2017-12-14T23:56:58Z","updated_at":"2018-03-28T17:29:30Z","pushed_at":"2018-03-28T21:12:30Z","git_url":"git://github.com/jberkhahn/kubectl.git","ssh_url":"git@github.com:jberkhahn/kubectl.git","clone_url":"https://github.com/jberkhahn/kubectl.git","svn_url":"https://github.com/jberkhahn/kubectl","homepage":null,"size":25544,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"a3fb1a16af3e410925acc4451704af45ebfcf6f0","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":86742497,"name":"kubectl","full_name":"kubernetes/kubectl","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubectl","description":"Issue tracker and mirror of kubectl code","fork":false,"url":"https://api.github.com/repos/kubernetes/kubectl","forks_url":"https://api.github.com/repos/kubernetes/kubectl/forks","keys_url":"https://api.github.com/repos/kubernetes/kubectl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubectl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubectl/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubectl/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubectl/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubectl/events","assignees_url":"https://api.github.com/repos/kubernetes/kubectl/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubectl/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubectl/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubectl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubectl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubectl/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubectl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubectl/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubectl/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubectl/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubectl/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubectl/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubectl/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubectl/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubectl/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubectl/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubectl/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubectl/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubectl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubectl/merges","archive_url":"https://api.github.com/repos/kubernetes/kubectl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubectl/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubectl/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubectl/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubectl/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubectl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubectl/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubectl/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/kubectl/deployments","created_at":"2017-03-30T19:50:22Z","updated_at":"2018-03-28T20:44:13Z","pushed_at":"2018-03-28T20:44:10Z","git_url":"git://github.com/kubernetes/kubectl.git","ssh_url":"git@github.com:kubernetes/kubectl.git","clone_url":"https://github.com/kubernetes/kubectl.git","svn_url":"https://github.com/kubernetes/kubectl","homepage":null,"size":25561,"stargazers_count":125,"watchers_count":125,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"archived":false,"open_issues_count":110,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":66,"open_issues":110,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubectl/pulls/383"},"html":{"href":"https://github.com/kubernetes/kubectl/pull/383"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubectl/issues/383"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubectl/issues/383/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubectl/pulls/383/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubectl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubectl/pulls/383/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubectl/statuses/b212714c998b773c1ea4a109b0b4118e599ac75b"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":53,"deletions":38,"changed_files":2}}
{"actor":{"display_login":"jberkhahn"}}