{"action":"opened","number":804,"pull_request":{"url":"https://api.github.com/repos/kubernetes/ingress/pulls/804","id":123482502,"html_url":"https://github.com/kubernetes/ingress/pull/804","diff_url":"https://github.com/kubernetes/ingress/pull/804.diff","patch_url":"https://github.com/kubernetes/ingress/pull/804.patch","issue_url":"https://api.github.com/repos/kubernetes/ingress/issues/804","number":804,"state":"open","locked":false,"title":"Fix #798 - RBAC for leader election","user":{"login":"weitzj","id":829277,"avatar_url":"https://avatars0.githubusercontent.com/u/829277?v=3","gravatar_id":"","url":"https://api.github.com/users/weitzj","html_url":"https://github.com/weitzj","followers_url":"https://api.github.com/users/weitzj/followers","following_url":"https://api.github.com/users/weitzj/following{/other_user}","gists_url":"https://api.github.com/users/weitzj/gists{/gist_id}","starred_url":"https://api.github.com/users/weitzj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weitzj/subscriptions","organizations_url":"https://api.github.com/users/weitzj/orgs","repos_url":"https://api.github.com/users/weitzj/repos","events_url":"https://api.github.com/users/weitzj/events{/privacy}","received_events_url":"https://api.github.com/users/weitzj/received_events","type":"User","site_admin":false},"body":"Fixes: https://github.com/kubernetes/ingress/issues/798\r\n\r\nUsing gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.7\r\nthe nginx-controller needs to handle leader-election via configmaps.\r\n\r\nTo perform the leader-election the nginx-controller needs to have the\r\nappropiate RBAC permissions.\r\n\r\nPreviously to this fix, the following errors occured:\r\n\r\n-  `cannot get configmaps in the namespace \"NAMESPACE_PLACEHOLDER\". (get configmaps ingress-controller-leader-nginx)`\r\n- `initially creating leader election record: User \"system:serviceaccount:NAMESPACE_PLACEHOLDER\" cannot create configmaps in the namespace \"NAMESPACE_PLACEHOLDER\". (post configmaps)`\r\n","created_at":"2017-06-01T12:01:48Z","updated_at":"2017-06-01T12:01:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/ingress/pulls/804/commits","review_comments_url":"https://api.github.com/repos/kubernetes/ingress/pulls/804/comments","review_comment_url":"https://api.github.com/repos/kubernetes/ingress/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/ingress/issues/804/comments","statuses_url":"https://api.github.com/repos/kubernetes/ingress/statuses/1ff01911bd0e34075aa2e2180a507df239da18a3","head":{"label":"weitzj:fix/798","ref":"fix/798","sha":"1ff01911bd0e34075aa2e2180a507df239da18a3","user":{"login":"weitzj","id":829277,"avatar_url":"https://avatars0.githubusercontent.com/u/829277?v=3","gravatar_id":"","url":"https://api.github.com/users/weitzj","html_url":"https://github.com/weitzj","followers_url":"https://api.github.com/users/weitzj/followers","following_url":"https://api.github.com/users/weitzj/following{/other_user}","gists_url":"https://api.github.com/users/weitzj/gists{/gist_id}","starred_url":"https://api.github.com/users/weitzj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weitzj/subscriptions","organizations_url":"https://api.github.com/users/weitzj/orgs","repos_url":"https://api.github.com/users/weitzj/repos","events_url":"https://api.github.com/users/weitzj/events{/privacy}","received_events_url":"https://api.github.com/users/weitzj/received_events","type":"User","site_admin":false},"repo":{"id":93051411,"name":"ingress","full_name":"weitzj/ingress","owner":{"login":"weitzj","id":829277,"avatar_url":"https://avatars0.githubusercontent.com/u/829277?v=3","gravatar_id":"","url":"https://api.github.com/users/weitzj","html_url":"https://github.com/weitzj","followers_url":"https://api.github.com/users/weitzj/followers","following_url":"https://api.github.com/users/weitzj/following{/other_user}","gists_url":"https://api.github.com/users/weitzj/gists{/gist_id}","starred_url":"https://api.github.com/users/weitzj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weitzj/subscriptions","organizations_url":"https://api.github.com/users/weitzj/orgs","repos_url":"https://api.github.com/users/weitzj/repos","events_url":"https://api.github.com/users/weitzj/events{/privacy}","received_events_url":"https://api.github.com/users/weitzj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weitzj/ingress","description":"Ingress controllers","fork":true,"url":"https://api.github.com/repos/weitzj/ingress","forks_url":"https://api.github.com/repos/weitzj/ingress/forks","keys_url":"https://api.github.com/repos/weitzj/ingress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weitzj/ingress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weitzj/ingress/teams","hooks_url":"https://api.github.com/repos/weitzj/ingress/hooks","issue_events_url":"https://api.github.com/repos/weitzj/ingress/issues/events{/number}","events_url":"https://api.github.com/repos/weitzj/ingress/events","assignees_url":"https://api.github.com/repos/weitzj/ingress/assignees{/user}","branches_url":"https://api.github.com/repos/weitzj/ingress/branches{/branch}","tags_url":"https://api.github.com/repos/weitzj/ingress/tags","blobs_url":"https://api.github.com/repos/weitzj/ingress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weitzj/ingress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weitzj/ingress/git/refs{/sha}","trees_url":"https://api.github.com/repos/weitzj/ingress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weitzj/ingress/statuses/{sha}","languages_url":"https://api.github.com/repos/weitzj/ingress/languages","stargazers_url":"https://api.github.com/repos/weitzj/ingress/stargazers","contributors_url":"https://api.github.com/repos/weitzj/ingress/contributors","subscribers_url":"https://api.github.com/repos/weitzj/ingress/subscribers","subscription_url":"https://api.github.com/repos/weitzj/ingress/subscription","commits_url":"https://api.github.com/repos/weitzj/ingress/commits{/sha}","git_commits_url":"https://api.github.com/repos/weitzj/ingress/git/commits{/sha}","comments_url":"https://api.github.com/repos/weitzj/ingress/comments{/number}","issue_comment_url":"https://api.github.com/repos/weitzj/ingress/issues/comments{/number}","contents_url":"https://api.github.com/repos/weitzj/ingress/contents/{+path}","compare_url":"https://api.github.com/repos/weitzj/ingress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weitzj/ingress/merges","archive_url":"https://api.github.com/repos/weitzj/ingress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weitzj/ingress/downloads","issues_url":"https://api.github.com/repos/weitzj/ingress/issues{/number}","pulls_url":"https://api.github.com/repos/weitzj/ingress/pulls{/number}","milestones_url":"https://api.github.com/repos/weitzj/ingress/milestones{/number}","notifications_url":"https://api.github.com/repos/weitzj/ingress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weitzj/ingress/labels{/name}","releases_url":"https://api.github.com/repos/weitzj/ingress/releases{/id}","deployments_url":"https://api.github.com/repos/weitzj/ingress/deployments","created_at":"2017-06-01T11:45:14Z","updated_at":"2017-06-01T11:45:17Z","pushed_at":"2017-06-01T11:59:06Z","git_url":"git://github.com/weitzj/ingress.git","ssh_url":"git@github.com:weitzj/ingress.git","clone_url":"https://github.com/weitzj/ingress.git","svn_url":"https://github.com/weitzj/ingress","homepage":null,"size":22946,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"a6bba68233bd5bd869f9e371663cc9fa87361615","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars1.githubusercontent.com/u/13629408?v=3","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":72891330,"name":"ingress","full_name":"kubernetes/ingress","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars1.githubusercontent.com/u/13629408?v=3","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/ingress","description":"Ingress controllers","fork":false,"url":"https://api.github.com/repos/kubernetes/ingress","forks_url":"https://api.github.com/repos/kubernetes/ingress/forks","keys_url":"https://api.github.com/repos/kubernetes/ingress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/ingress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/ingress/teams","hooks_url":"https://api.github.com/repos/kubernetes/ingress/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/ingress/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/ingress/events","assignees_url":"https://api.github.com/repos/kubernetes/ingress/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/ingress/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/ingress/tags","blobs_url":"https://api.github.com/repos/kubernetes/ingress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/ingress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/ingress/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/ingress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/ingress/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/ingress/languages","stargazers_url":"https://api.github.com/repos/kubernetes/ingress/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/ingress/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/ingress/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/ingress/subscription","commits_url":"https://api.github.com/repos/kubernetes/ingress/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/ingress/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/ingress/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/ingress/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/ingress/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/ingress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/ingress/merges","archive_url":"https://api.github.com/repos/kubernetes/ingress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/ingress/downloads","issues_url":"https://api.github.com/repos/kubernetes/ingress/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/ingress/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/ingress/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/ingress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/ingress/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/ingress/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/ingress/deployments","created_at":"2016-11-04T22:54:14Z","updated_at":"2017-05-31T12:12:45Z","pushed_at":"2017-05-31T13:07:19Z","git_url":"git://github.com/kubernetes/ingress.git","ssh_url":"git@github.com:kubernetes/ingress.git","clone_url":"https://github.com/kubernetes/ingress.git","svn_url":"https://github.com/kubernetes/ingress","homepage":null,"size":22946,"stargazers_count":394,"watchers_count":394,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":254,"mirror_url":null,"open_issues_count":134,"forks":254,"open_issues":134,"watchers":394,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/ingress/pulls/804"},"html":{"href":"https://github.com/kubernetes/ingress/pull/804"},"issue":{"href":"https://api.github.com/repos/kubernetes/ingress/issues/804"},"comments":{"href":"https://api.github.com/repos/kubernetes/ingress/issues/804/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/ingress/pulls/804/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/ingress/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/ingress/pulls/804/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/ingress/statuses/1ff01911bd0e34075aa2e2180a507df239da18a3"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":8,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"weitzj"}}