{"action":"created","comment":{"url":"https://api.github.com/repos/atlassian/escalator/pulls/comments/219355158","pull_request_review_id":157511584,"id":219355158,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTM1NTE1OA==","diff_hunk":"@@ -31,6 +31,27 @@ rules:\n   - list\n   - get\n   - delete\n+- apiGroups:","path":"docs/deployment/escalator-rbac.yaml","position":4,"original_position":4,"commit_id":"d0c4b99775197188759b162ecebede2051eb7134","original_commit_id":"d0c4b99775197188759b162ecebede2051eb7134","user":{"login":"youngnick","id":9346599,"node_id":"MDQ6VXNlcjkzNDY1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9346599?v=4","gravatar_id":"","url":"https://api.github.com/users/youngnick","html_url":"https://github.com/youngnick","followers_url":"https://api.github.com/users/youngnick/followers","following_url":"https://api.github.com/users/youngnick/following{/other_user}","gists_url":"https://api.github.com/users/youngnick/gists{/gist_id}","starred_url":"https://api.github.com/users/youngnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngnick/subscriptions","organizations_url":"https://api.github.com/users/youngnick/orgs","repos_url":"https://api.github.com/users/youngnick/repos","events_url":"https://api.github.com/users/youngnick/events{/privacy}","received_events_url":"https://api.github.com/users/youngnick/received_events","type":"User","site_admin":false},"body":"Yeah, probably. I'll change it.","created_at":"2018-09-21T00:22:47Z","updated_at":"2018-09-21T00:22:47Z","html_url":"https://github.com/atlassian/escalator/pull/127#discussion_r219355158","pull_request_url":"https://api.github.com/repos/atlassian/escalator/pulls/127","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/atlassian/escalator/pulls/comments/219355158"},"html":{"href":"https://github.com/atlassian/escalator/pull/127#discussion_r219355158"},"pull_request":{"href":"https://api.github.com/repos/atlassian/escalator/pulls/127"}},"in_reply_to_id":219045408},"pull_request":{"url":"https://api.github.com/repos/atlassian/escalator/pulls/127","id":214518922,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NTE4OTIy","html_url":"https://github.com/atlassian/escalator/pull/127","diff_url":"https://github.com/atlassian/escalator/pull/127.diff","patch_url":"https://github.com/atlassian/escalator/pull/127.patch","issue_url":"https://api.github.com/repos/atlassian/escalator/issues/127","number":127,"state":"open","locked":false,"title":"Leader Election","user":{"login":"youngnick","id":9346599,"node_id":"MDQ6VXNlcjkzNDY1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9346599?v=4","gravatar_id":"","url":"https://api.github.com/users/youngnick","html_url":"https://github.com/youngnick","followers_url":"https://api.github.com/users/youngnick/followers","following_url":"https://api.github.com/users/youngnick/following{/other_user}","gists_url":"https://api.github.com/users/youngnick/gists{/gist_id}","starred_url":"https://api.github.com/users/youngnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngnick/subscriptions","organizations_url":"https://api.github.com/users/youngnick/orgs","repos_url":"https://api.github.com/users/youngnick/repos","events_url":"https://api.github.com/users/youngnick/events{/privacy}","received_events_url":"https://api.github.com/users/youngnick/received_events","type":"User","site_admin":false},"body":"Fixes #56 by implementing leader election.\r\n\r\nThings to note:\r\n- Uses configmap for storing the leader lock.\r\n- No unit tests as there's not enough logic to make them useful.\r\n","created_at":"2018-09-11T05:50:36Z","updated_at":"2018-09-21T00:22:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f093f8bf7aae764344dda66801ea5d6853fdedc","assignee":{"login":"youngnick","id":9346599,"node_id":"MDQ6VXNlcjkzNDY1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9346599?v=4","gravatar_id":"","url":"https://api.github.com/users/youngnick","html_url":"https://github.com/youngnick","followers_url":"https://api.github.com/users/youngnick/followers","following_url":"https://api.github.com/users/youngnick/following{/other_user}","gists_url":"https://api.github.com/users/youngnick/gists{/gist_id}","starred_url":"https://api.github.com/users/youngnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngnick/subscriptions","organizations_url":"https://api.github.com/users/youngnick/orgs","repos_url":"https://api.github.com/users/youngnick/repos","events_url":"https://api.github.com/users/youngnick/events{/privacy}","received_events_url":"https://api.github.com/users/youngnick/received_events","type":"User","site_admin":false},"assignees":[{"login":"youngnick","id":9346599,"node_id":"MDQ6VXNlcjkzNDY1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9346599?v=4","gravatar_id":"","url":"https://api.github.com/users/youngnick","html_url":"https://github.com/youngnick","followers_url":"https://api.github.com/users/youngnick/followers","following_url":"https://api.github.com/users/youngnick/following{/other_user}","gists_url":"https://api.github.com/users/youngnick/gists{/gist_id}","starred_url":"https://api.github.com/users/youngnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngnick/subscriptions","organizations_url":"https://api.github.com/users/youngnick/orgs","repos_url":"https://api.github.com/users/youngnick/repos","events_url":"https://api.github.com/users/youngnick/events{/privacy}","received_events_url":"https://api.github.com/users/youngnick/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":812176111,"node_id":"MDU6TGFiZWw4MTIxNzYxMTE=","url":"https://api.github.com/repos/atlassian/escalator/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/atlassian/escalator/pulls/127/commits","review_comments_url":"https://api.github.com/repos/atlassian/escalator/pulls/127/comments","review_comment_url":"https://api.github.com/repos/atlassian/escalator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atlassian/escalator/issues/127/comments","statuses_url":"https://api.github.com/repos/atlassian/escalator/statuses/d0c4b99775197188759b162ecebede2051eb7134","head":{"label":"atlassian:issue-56","ref":"issue-56","sha":"d0c4b99775197188759b162ecebede2051eb7134","user":{"login":"atlassian","id":168166,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODE2Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/168166?v=4","gravatar_id":"","url":"https://api.github.com/users/atlassian","html_url":"https://github.com/atlassian","followers_url":"https://api.github.com/users/atlassian/followers","following_url":"https://api.github.com/users/atlassian/following{/other_user}","gists_url":"https://api.github.com/users/atlassian/gists{/gist_id}","starred_url":"https://api.github.com/users/atlassian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlassian/subscriptions","organizations_url":"https://api.github.com/users/atlassian/orgs","repos_url":"https://api.github.com/users/atlassian/repos","events_url":"https://api.github.com/users/atlassian/events{/privacy}","received_events_url":"https://api.github.com/users/atlassian/received_events","type":"Organization","site_admin":false},"repo":{"id":118404024,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg0MDQwMjQ=","name":"escalator","full_name":"atlassian/escalator","private":false,"owner":{"login":"atlassian","id":168166,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODE2Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/168166?v=4","gravatar_id":"","url":"https://api.github.com/users/atlassian","html_url":"https://github.com/atlassian","followers_url":"https://api.github.com/users/atlassian/followers","following_url":"https://api.github.com/users/atlassian/following{/other_user}","gists_url":"https://api.github.com/users/atlassian/gists{/gist_id}","starred_url":"https://api.github.com/users/atlassian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlassian/subscriptions","organizations_url":"https://api.github.com/users/atlassian/orgs","repos_url":"https://api.github.com/users/atlassian/repos","events_url":"https://api.github.com/users/atlassian/events{/privacy}","received_events_url":"https://api.github.com/users/atlassian/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/atlassian/escalator","description":"Escalator is a batch or job optimized horizontal autoscaler for Kubernetes","fork":false,"url":"https://api.github.com/repos/atlassian/escalator","forks_url":"https://api.github.com/repos/atlassian/escalator/forks","keys_url":"https://api.github.com/repos/atlassian/escalator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atlassian/escalator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atlassian/escalator/teams","hooks_url":"https://api.github.com/repos/atlassian/escalator/hooks","issue_events_url":"https://api.github.com/repos/atlassian/escalator/issues/events{/number}","events_url":"https://api.github.com/repos/atlassian/escalator/events","assignees_url":"https://api.github.com/repos/atlassian/escalator/assignees{/user}","branches_url":"https://api.github.com/repos/atlassian/escalator/branches{/branch}","tags_url":"https://api.github.com/repos/atlassian/escalator/tags","blobs_url":"https://api.github.com/repos/atlassian/escalator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atlassian/escalator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atlassian/escalator/git/refs{/sha}","trees_url":"https://api.github.com/repos/atlassian/escalator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atlassian/escalator/statuses/{sha}","languages_url":"https://api.github.com/repos/atlassian/escalator/languages","stargazers_url":"https://api.github.com/repos/atlassian/escalator/stargazers","contributors_url":"https://api.github.com/repos/atlassian/escalator/contributors","subscribers_url":"https://api.github.com/repos/atlassian/escalator/subscribers","subscription_url":"https://api.github.com/repos/atlassian/escalator/subscription","commits_url":"https://api.github.com/repos/atlassian/escalator/commits{/sha}","git_commits_url":"https://api.github.com/repos/atlassian/escalator/git/commits{/sha}","comments_url":"https://api.github.com/repos/atlassian/escalator/comments{/number}","issue_comment_url":"https://api.github.com/repos/atlassian/escalator/issues/comments{/number}","contents_url":"https://api.github.com/repos/atlassian/escalator/contents/{+path}","compare_url":"https://api.github.com/repos/atlassian/escalator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atlassian/escalator/merges","archive_url":"https://api.github.com/repos/atlassian/escalator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atlassian/escalator/downloads","issues_url":"https://api.github.com/repos/atlassian/escalator/issues{/number}","pulls_url":"https://api.github.com/repos/atlassian/escalator/pulls{/number}","milestones_url":"https://api.github.com/repos/atlassian/escalator/milestones{/number}","notifications_url":"https://api.github.com/repos/atlassian/escalator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atlassian/escalator/labels{/name}","releases_url":"https://api.github.com/repos/atlassian/escalator/releases{/id}","deployments_url":"https://api.github.com/repos/atlassian/escalator/deployments","created_at":"2018-01-22T04:00:31Z","updated_at":"2018-09-17T02:20:26Z","pushed_at":"2018-09-20T03:46:28Z","git_url":"git://github.com/atlassian/escalator.git","ssh_url":"git@github.com:atlassian/escalator.git","clone_url":"https://github.com/atlassian/escalator.git","svn_url":"https://github.com/atlassian/escalator","homepage":"","size":5355,"stargazers_count":366,"watchers_count":366,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":17,"open_issues":13,"watchers":366,"default_branch":"master"}},"base":{"label":"atlassian:master","ref":"master","sha":"97321d7d36e935b589ff9cdde6ffb6374059f1bb","user":{"login":"atlassian","id":168166,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODE2Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/168166?v=4","gravatar_id":"","url":"https://api.github.com/users/atlassian","html_url":"https://github.com/atlassian","followers_url":"https://api.github.com/users/atlassian/followers","following_url":"https://api.github.com/users/atlassian/following{/other_user}","gists_url":"https://api.github.com/users/atlassian/gists{/gist_id}","starred_url":"https://api.github.com/users/atlassian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlassian/subscriptions","organizations_url":"https://api.github.com/users/atlassian/orgs","repos_url":"https://api.github.com/users/atlassian/repos","events_url":"https://api.github.com/users/atlassian/events{/privacy}","received_events_url":"https://api.github.com/users/atlassian/received_events","type":"Organization","site_admin":false},"repo":{"id":118404024,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg0MDQwMjQ=","name":"escalator","full_name":"atlassian/escalator","private":false,"owner":{"login":"atlassian","id":168166,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODE2Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/168166?v=4","gravatar_id":"","url":"https://api.github.com/users/atlassian","html_url":"https://github.com/atlassian","followers_url":"https://api.github.com/users/atlassian/followers","following_url":"https://api.github.com/users/atlassian/following{/other_user}","gists_url":"https://api.github.com/users/atlassian/gists{/gist_id}","starred_url":"https://api.github.com/users/atlassian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlassian/subscriptions","organizations_url":"https://api.github.com/users/atlassian/orgs","repos_url":"https://api.github.com/users/atlassian/repos","events_url":"https://api.github.com/users/atlassian/events{/privacy}","received_events_url":"https://api.github.com/users/atlassian/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/atlassian/escalator","description":"Escalator is a batch or job optimized horizontal autoscaler for Kubernetes","fork":false,"url":"https://api.github.com/repos/atlassian/escalator","forks_url":"https://api.github.com/repos/atlassian/escalator/forks","keys_url":"https://api.github.com/repos/atlassian/escalator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atlassian/escalator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atlassian/escalator/teams","hooks_url":"https://api.github.com/repos/atlassian/escalator/hooks","issue_events_url":"https://api.github.com/repos/atlassian/escalator/issues/events{/number}","events_url":"https://api.github.com/repos/atlassian/escalator/events","assignees_url":"https://api.github.com/repos/atlassian/escalator/assignees{/user}","branches_url":"https://api.github.com/repos/atlassian/escalator/branches{/branch}","tags_url":"https://api.github.com/repos/atlassian/escalator/tags","blobs_url":"https://api.github.com/repos/atlassian/escalator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atlassian/escalator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atlassian/escalator/git/refs{/sha}","trees_url":"https://api.github.com/repos/atlassian/escalator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atlassian/escalator/statuses/{sha}","languages_url":"https://api.github.com/repos/atlassian/escalator/languages","stargazers_url":"https://api.github.com/repos/atlassian/escalator/stargazers","contributors_url":"https://api.github.com/repos/atlassian/escalator/contributors","subscribers_url":"https://api.github.com/repos/atlassian/escalator/subscribers","subscription_url":"https://api.github.com/repos/atlassian/escalator/subscription","commits_url":"https://api.github.com/repos/atlassian/escalator/commits{/sha}","git_commits_url":"https://api.github.com/repos/atlassian/escalator/git/commits{/sha}","comments_url":"https://api.github.com/repos/atlassian/escalator/comments{/number}","issue_comment_url":"https://api.github.com/repos/atlassian/escalator/issues/comments{/number}","contents_url":"https://api.github.com/repos/atlassian/escalator/contents/{+path}","compare_url":"https://api.github.com/repos/atlassian/escalator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atlassian/escalator/merges","archive_url":"https://api.github.com/repos/atlassian/escalator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atlassian/escalator/downloads","issues_url":"https://api.github.com/repos/atlassian/escalator/issues{/number}","pulls_url":"https://api.github.com/repos/atlassian/escalator/pulls{/number}","milestones_url":"https://api.github.com/repos/atlassian/escalator/milestones{/number}","notifications_url":"https://api.github.com/repos/atlassian/escalator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atlassian/escalator/labels{/name}","releases_url":"https://api.github.com/repos/atlassian/escalator/releases{/id}","deployments_url":"https://api.github.com/repos/atlassian/escalator/deployments","created_at":"2018-01-22T04:00:31Z","updated_at":"2018-09-17T02:20:26Z","pushed_at":"2018-09-20T03:46:28Z","git_url":"git://github.com/atlassian/escalator.git","ssh_url":"git@github.com:atlassian/escalator.git","clone_url":"https://github.com/atlassian/escalator.git","svn_url":"https://github.com/atlassian/escalator","homepage":"","size":5355,"stargazers_count":366,"watchers_count":366,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":17,"open_issues":13,"watchers":366,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atlassian/escalator/pulls/127"},"html":{"href":"https://github.com/atlassian/escalator/pull/127"},"issue":{"href":"https://api.github.com/repos/atlassian/escalator/issues/127"},"comments":{"href":"https://api.github.com/repos/atlassian/escalator/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/atlassian/escalator/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/atlassian/escalator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atlassian/escalator/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/atlassian/escalator/statuses/d0c4b99775197188759b162ecebede2051eb7134"}},"author_association":"NONE"}}
{"actor":{"display_login":"youngnick"}}