{"action":"opened","number":78,"pull_request":{"url":"https://api.github.com/repos/kelproject/pykube/pulls/78","id":88004457,"html_url":"https://github.com/kelproject/pykube/pull/78","diff_url":"https://github.com/kelproject/pykube/pull/78.diff","patch_url":"https://github.com/kelproject/pykube/pull/78.patch","issue_url":"https://api.github.com/repos/kelproject/pykube/issues/78","number":78,"state":"open","locked":false,"title":"Google Cloud oauth authentication","user":{"login":"victorgp","id":593300,"avatar_url":"https://avatars.githubusercontent.com/u/593300?v=3","gravatar_id":"","url":"https://api.github.com/users/victorgp","html_url":"https://github.com/victorgp","followers_url":"https://api.github.com/users/victorgp/followers","following_url":"https://api.github.com/users/victorgp/following{/other_user}","gists_url":"https://api.github.com/users/victorgp/gists{/gist_id}","starred_url":"https://api.github.com/users/victorgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorgp/subscriptions","organizations_url":"https://api.github.com/users/victorgp/orgs","repos_url":"https://api.github.com/users/victorgp/repos","events_url":"https://api.github.com/users/victorgp/events{/privacy}","received_events_url":"https://api.github.com/users/victorgp/received_events","type":"User","site_admin":false},"body":"This fixes https://github.com/kelproject/pykube/issues/76 and covers the case when the access-token is missing in kube config file.\r\n\r\nThe only required thing is the setup of gcloud that will create ~/.config/gcloud/application_default_credentials.json needed to get the user credentials.\r\n\r\nThis is using the oauth module of 'requests', therefore the session object shares the same interface.","created_at":"2016-10-05T01:51:37Z","updated_at":"2016-10-05T01:51:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kelproject/pykube/pulls/78/commits","review_comments_url":"https://api.github.com/repos/kelproject/pykube/pulls/78/comments","review_comment_url":"https://api.github.com/repos/kelproject/pykube/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kelproject/pykube/issues/78/comments","statuses_url":"https://api.github.com/repos/kelproject/pykube/statuses/9fdd8cee3acdaa965658e56d72100e09da4c5bd1","head":{"label":"victorgp:master","ref":"master","sha":"9fdd8cee3acdaa965658e56d72100e09da4c5bd1","user":{"login":"victorgp","id":593300,"avatar_url":"https://avatars.githubusercontent.com/u/593300?v=3","gravatar_id":"","url":"https://api.github.com/users/victorgp","html_url":"https://github.com/victorgp","followers_url":"https://api.github.com/users/victorgp/followers","following_url":"https://api.github.com/users/victorgp/following{/other_user}","gists_url":"https://api.github.com/users/victorgp/gists{/gist_id}","starred_url":"https://api.github.com/users/victorgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorgp/subscriptions","organizations_url":"https://api.github.com/users/victorgp/orgs","repos_url":"https://api.github.com/users/victorgp/repos","events_url":"https://api.github.com/users/victorgp/events{/privacy}","received_events_url":"https://api.github.com/users/victorgp/received_events","type":"User","site_admin":false},"repo":{"id":53673707,"name":"pykube","full_name":"victorgp/pykube","owner":{"login":"victorgp","id":593300,"avatar_url":"https://avatars.githubusercontent.com/u/593300?v=3","gravatar_id":"","url":"https://api.github.com/users/victorgp","html_url":"https://github.com/victorgp","followers_url":"https://api.github.com/users/victorgp/followers","following_url":"https://api.github.com/users/victorgp/following{/other_user}","gists_url":"https://api.github.com/users/victorgp/gists{/gist_id}","starred_url":"https://api.github.com/users/victorgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorgp/subscriptions","organizations_url":"https://api.github.com/users/victorgp/orgs","repos_url":"https://api.github.com/users/victorgp/repos","events_url":"https://api.github.com/users/victorgp/events{/privacy}","received_events_url":"https://api.github.com/users/victorgp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/victorgp/pykube","description":"Python client library for Kubernetes","fork":true,"url":"https://api.github.com/repos/victorgp/pykube","forks_url":"https://api.github.com/repos/victorgp/pykube/forks","keys_url":"https://api.github.com/repos/victorgp/pykube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/victorgp/pykube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/victorgp/pykube/teams","hooks_url":"https://api.github.com/repos/victorgp/pykube/hooks","issue_events_url":"https://api.github.com/repos/victorgp/pykube/issues/events{/number}","events_url":"https://api.github.com/repos/victorgp/pykube/events","assignees_url":"https://api.github.com/repos/victorgp/pykube/assignees{/user}","branches_url":"https://api.github.com/repos/victorgp/pykube/branches{/branch}","tags_url":"https://api.github.com/repos/victorgp/pykube/tags","blobs_url":"https://api.github.com/repos/victorgp/pykube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/victorgp/pykube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/victorgp/pykube/git/refs{/sha}","trees_url":"https://api.github.com/repos/victorgp/pykube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/victorgp/pykube/statuses/{sha}","languages_url":"https://api.github.com/repos/victorgp/pykube/languages","stargazers_url":"https://api.github.com/repos/victorgp/pykube/stargazers","contributors_url":"https://api.github.com/repos/victorgp/pykube/contributors","subscribers_url":"https://api.github.com/repos/victorgp/pykube/subscribers","subscription_url":"https://api.github.com/repos/victorgp/pykube/subscription","commits_url":"https://api.github.com/repos/victorgp/pykube/commits{/sha}","git_commits_url":"https://api.github.com/repos/victorgp/pykube/git/commits{/sha}","comments_url":"https://api.github.com/repos/victorgp/pykube/comments{/number}","issue_comment_url":"https://api.github.com/repos/victorgp/pykube/issues/comments{/number}","contents_url":"https://api.github.com/repos/victorgp/pykube/contents/{+path}","compare_url":"https://api.github.com/repos/victorgp/pykube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/victorgp/pykube/merges","archive_url":"https://api.github.com/repos/victorgp/pykube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/victorgp/pykube/downloads","issues_url":"https://api.github.com/repos/victorgp/pykube/issues{/number}","pulls_url":"https://api.github.com/repos/victorgp/pykube/pulls{/number}","milestones_url":"https://api.github.com/repos/victorgp/pykube/milestones{/number}","notifications_url":"https://api.github.com/repos/victorgp/pykube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/victorgp/pykube/labels{/name}","releases_url":"https://api.github.com/repos/victorgp/pykube/releases{/id}","deployments_url":"https://api.github.com/repos/victorgp/pykube/deployments","created_at":"2016-03-11T14:45:29Z","updated_at":"2016-03-11T14:45:30Z","pushed_at":"2016-10-05T01:49:51Z","git_url":"git://github.com/victorgp/pykube.git","ssh_url":"git@github.com:victorgp/pykube.git","clone_url":"https://github.com/victorgp/pykube.git","svn_url":"https://github.com/victorgp/pykube","homepage":"","size":163,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kelproject:master","ref":"master","sha":"2a712e3a1fc4cf2035cd6e9b1fd71a0e05abc449","user":{"login":"kelproject","id":17834534,"avatar_url":"https://avatars.githubusercontent.com/u/17834534?v=3","gravatar_id":"","url":"https://api.github.com/users/kelproject","html_url":"https://github.com/kelproject","followers_url":"https://api.github.com/users/kelproject/followers","following_url":"https://api.github.com/users/kelproject/following{/other_user}","gists_url":"https://api.github.com/users/kelproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kelproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelproject/subscriptions","organizations_url":"https://api.github.com/users/kelproject/orgs","repos_url":"https://api.github.com/users/kelproject/repos","events_url":"https://api.github.com/users/kelproject/events{/privacy}","received_events_url":"https://api.github.com/users/kelproject/received_events","type":"Organization","site_admin":false},"repo":{"id":39740335,"name":"pykube","full_name":"kelproject/pykube","owner":{"login":"kelproject","id":17834534,"avatar_url":"https://avatars.githubusercontent.com/u/17834534?v=3","gravatar_id":"","url":"https://api.github.com/users/kelproject","html_url":"https://github.com/kelproject","followers_url":"https://api.github.com/users/kelproject/followers","following_url":"https://api.github.com/users/kelproject/following{/other_user}","gists_url":"https://api.github.com/users/kelproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kelproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelproject/subscriptions","organizations_url":"https://api.github.com/users/kelproject/orgs","repos_url":"https://api.github.com/users/kelproject/repos","events_url":"https://api.github.com/users/kelproject/events{/privacy}","received_events_url":"https://api.github.com/users/kelproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kelproject/pykube","description":"Python client library for Kubernetes","fork":false,"url":"https://api.github.com/repos/kelproject/pykube","forks_url":"https://api.github.com/repos/kelproject/pykube/forks","keys_url":"https://api.github.com/repos/kelproject/pykube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kelproject/pykube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kelproject/pykube/teams","hooks_url":"https://api.github.com/repos/kelproject/pykube/hooks","issue_events_url":"https://api.github.com/repos/kelproject/pykube/issues/events{/number}","events_url":"https://api.github.com/repos/kelproject/pykube/events","assignees_url":"https://api.github.com/repos/kelproject/pykube/assignees{/user}","branches_url":"https://api.github.com/repos/kelproject/pykube/branches{/branch}","tags_url":"https://api.github.com/repos/kelproject/pykube/tags","blobs_url":"https://api.github.com/repos/kelproject/pykube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kelproject/pykube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kelproject/pykube/git/refs{/sha}","trees_url":"https://api.github.com/repos/kelproject/pykube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kelproject/pykube/statuses/{sha}","languages_url":"https://api.github.com/repos/kelproject/pykube/languages","stargazers_url":"https://api.github.com/repos/kelproject/pykube/stargazers","contributors_url":"https://api.github.com/repos/kelproject/pykube/contributors","subscribers_url":"https://api.github.com/repos/kelproject/pykube/subscribers","subscription_url":"https://api.github.com/repos/kelproject/pykube/subscription","commits_url":"https://api.github.com/repos/kelproject/pykube/commits{/sha}","git_commits_url":"https://api.github.com/repos/kelproject/pykube/git/commits{/sha}","comments_url":"https://api.github.com/repos/kelproject/pykube/comments{/number}","issue_comment_url":"https://api.github.com/repos/kelproject/pykube/issues/comments{/number}","contents_url":"https://api.github.com/repos/kelproject/pykube/contents/{+path}","compare_url":"https://api.github.com/repos/kelproject/pykube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kelproject/pykube/merges","archive_url":"https://api.github.com/repos/kelproject/pykube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kelproject/pykube/downloads","issues_url":"https://api.github.com/repos/kelproject/pykube/issues{/number}","pulls_url":"https://api.github.com/repos/kelproject/pykube/pulls{/number}","milestones_url":"https://api.github.com/repos/kelproject/pykube/milestones{/number}","notifications_url":"https://api.github.com/repos/kelproject/pykube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kelproject/pykube/labels{/name}","releases_url":"https://api.github.com/repos/kelproject/pykube/releases{/id}","deployments_url":"https://api.github.com/repos/kelproject/pykube/deployments","created_at":"2015-07-26T20:14:28Z","updated_at":"2016-10-03T18:33:40Z","pushed_at":"2016-09-30T15:28:51Z","git_url":"git://github.com/kelproject/pykube.git","ssh_url":"git@github.com:kelproject/pykube.git","clone_url":"https://github.com/kelproject/pykube.git","svn_url":"https://github.com/kelproject/pykube","homepage":"","size":202,"stargazers_count":135,"watchers_count":135,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":15,"forks":57,"open_issues":15,"watchers":135,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kelproject/pykube/pulls/78"},"html":{"href":"https://github.com/kelproject/pykube/pull/78"},"issue":{"href":"https://api.github.com/repos/kelproject/pykube/issues/78"},"comments":{"href":"https://api.github.com/repos/kelproject/pykube/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/kelproject/pykube/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/kelproject/pykube/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kelproject/pykube/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/kelproject/pykube/statuses/9fdd8cee3acdaa965658e56d72100e09da4c5bd1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":144,"deletions":34,"changed_files":4}}
{"actor":{"display_login":"victorgp"}}