{"action":"created","comment":{"url":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/comments/167866745","pull_request_review_id":96144052,"id":167866745,"diff_hunk":"@@ -27,13 +28,26 @@ func init() {\n \tflag.BoolVar(&config.NoTeamsAPI, \"noteamsapi\", false, \"Disable all access to the teams API\")\n \tflag.Parse()\n \n+\tcmd := exec.Command(\"cat\", \"/var/run/secrets/kubernetes.io/serviceaccount/namespace\")","path":"cmd/main.go","position":12,"original_position":12,"commit_id":"5b0e2ea66de1a5cf453af241c950b01aed0882b9","original_commit_id":"5b0e2ea66de1a5cf453af241c950b01aed0882b9","user":{"login":"Jan-M","id":1443395,"avatar_url":"https://avatars3.githubusercontent.com/u/1443395?v=4","gravatar_id":"","url":"https://api.github.com/users/Jan-M","html_url":"https://github.com/Jan-M","followers_url":"https://api.github.com/users/Jan-M/followers","following_url":"https://api.github.com/users/Jan-M/following{/other_user}","gists_url":"https://api.github.com/users/Jan-M/gists{/gist_id}","starred_url":"https://api.github.com/users/Jan-M/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jan-M/subscriptions","organizations_url":"https://api.github.com/users/Jan-M/orgs","repos_url":"https://api.github.com/users/Jan-M/repos","events_url":"https://api.github.com/users/Jan-M/events{/privacy}","received_events_url":"https://api.github.com/users/Jan-M/received_events","type":"User","site_admin":false},"body":"```\r\nPOD_NAMESPACE=default\r\n```\r\n\r\nUse this if it is supplied by Kubernetes 1.8+","created_at":"2018-02-13T13:42:52Z","updated_at":"2018-02-13T13:42:52Z","html_url":"https://github.com/zalando-incubator/postgres-operator/pull/231#discussion_r167866745","pull_request_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/231","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/comments/167866745"},"html":{"href":"https://github.com/zalando-incubator/postgres-operator/pull/231#discussion_r167866745"},"pull_request":{"href":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/231"}},"in_reply_to_id":167856331},"pull_request":{"url":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/231","id":168834460,"html_url":"https://github.com/zalando-incubator/postgres-operator/pull/231","diff_url":"https://github.com/zalando-incubator/postgres-operator/pull/231.diff","patch_url":"https://github.com/zalando-incubator/postgres-operator/pull/231.patch","issue_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/issues/231","number":231,"state":"open","locked":false,"title":"Fetch operator configmap from operator's namespace","user":{"login":"zerg-junior","id":1516151,"avatar_url":"https://avatars0.githubusercontent.com/u/1516151?v=4","gravatar_id":"","url":"https://api.github.com/users/zerg-junior","html_url":"https://github.com/zerg-junior","followers_url":"https://api.github.com/users/zerg-junior/followers","following_url":"https://api.github.com/users/zerg-junior/following{/other_user}","gists_url":"https://api.github.com/users/zerg-junior/gists{/gist_id}","starred_url":"https://api.github.com/users/zerg-junior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerg-junior/subscriptions","organizations_url":"https://api.github.com/users/zerg-junior/orgs","repos_url":"https://api.github.com/users/zerg-junior/repos","events_url":"https://api.github.com/users/zerg-junior/events{/privacy}","received_events_url":"https://api.github.com/users/zerg-junior/received_events","type":"User","site_admin":false},"body":"Closes #155 ","created_at":"2018-02-13T12:41:00Z","updated_at":"2018-02-13T13:42:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"997183f08d6d1be87abbadbe3fc74f36cf95c178","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/231/commits","review_comments_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/231/comments","review_comment_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/issues/231/comments","statuses_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/statuses/5b0e2ea66de1a5cf453af241c950b01aed0882b9","head":{"label":"zalando-incubator:default-to-watched-ns","ref":"default-to-watched-ns","sha":"5b0e2ea66de1a5cf453af241c950b01aed0882b9","user":{"login":"zalando-incubator","id":18533786,"avatar_url":"https://avatars3.githubusercontent.com/u/18533786?v=4","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":91074692,"name":"postgres-operator","full_name":"zalando-incubator/postgres-operator","owner":{"login":"zalando-incubator","id":18533786,"avatar_url":"https://avatars3.githubusercontent.com/u/18533786?v=4","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zalando-incubator/postgres-operator","description":"Postgres operator creates and manages PostgreSQL clusters running in Kubernetes","fork":false,"url":"https://api.github.com/repos/zalando-incubator/postgres-operator","forks_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/forks","keys_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/teams","hooks_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/hooks","issue_events_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/issues/events{/number}","events_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/events","assignees_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/assignees{/user}","branches_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/branches{/branch}","tags_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/tags","blobs_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/languages","stargazers_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/stargazers","contributors_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/contributors","subscribers_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/subscribers","subscription_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/subscription","commits_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/contents/{+path}","compare_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/merges","archive_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/downloads","issues_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/issues{/number}","pulls_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/labels{/name}","releases_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/releases{/id}","deployments_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/deployments","created_at":"2017-05-12T09:26:07Z","updated_at":"2018-02-12T10:04:56Z","pushed_at":"2018-02-13T12:41:01Z","git_url":"git://github.com/zalando-incubator/postgres-operator.git","ssh_url":"git@github.com:zalando-incubator/postgres-operator.git","clone_url":"https://github.com/zalando-incubator/postgres-operator.git","svn_url":"https://github.com/zalando-incubator/postgres-operator","homepage":"","size":1046,"stargazers_count":141,"watchers_count":141,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":36,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":15,"open_issues":36,"watchers":141,"default_branch":"master"}},"base":{"label":"zalando-incubator:master","ref":"master","sha":"08e3d925e6187433416e8363baf0dc837c73b1d0","user":{"login":"zalando-incubator","id":18533786,"avatar_url":"https://avatars3.githubusercontent.com/u/18533786?v=4","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":91074692,"name":"postgres-operator","full_name":"zalando-incubator/postgres-operator","owner":{"login":"zalando-incubator","id":18533786,"avatar_url":"https://avatars3.githubusercontent.com/u/18533786?v=4","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zalando-incubator/postgres-operator","description":"Postgres operator creates and manages PostgreSQL clusters running in Kubernetes","fork":false,"url":"https://api.github.com/repos/zalando-incubator/postgres-operator","forks_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/forks","keys_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/teams","hooks_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/hooks","issue_events_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/issues/events{/number}","events_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/events","assignees_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/assignees{/user}","branches_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/branches{/branch}","tags_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/tags","blobs_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/languages","stargazers_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/stargazers","contributors_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/contributors","subscribers_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/subscribers","subscription_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/subscription","commits_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/contents/{+path}","compare_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/merges","archive_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/downloads","issues_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/issues{/number}","pulls_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/labels{/name}","releases_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/releases{/id}","deployments_url":"https://api.github.com/repos/zalando-incubator/postgres-operator/deployments","created_at":"2017-05-12T09:26:07Z","updated_at":"2018-02-12T10:04:56Z","pushed_at":"2018-02-13T12:41:01Z","git_url":"git://github.com/zalando-incubator/postgres-operator.git","ssh_url":"git@github.com:zalando-incubator/postgres-operator.git","clone_url":"https://github.com/zalando-incubator/postgres-operator.git","svn_url":"https://github.com/zalando-incubator/postgres-operator","homepage":"","size":1046,"stargazers_count":141,"watchers_count":141,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":36,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":15,"open_issues":36,"watchers":141,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/231"},"html":{"href":"https://github.com/zalando-incubator/postgres-operator/pull/231"},"issue":{"href":"https://api.github.com/repos/zalando-incubator/postgres-operator/issues/231"},"comments":{"href":"https://api.github.com/repos/zalando-incubator/postgres-operator/issues/231/comments"},"review_comments":{"href":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/231/comments"},"review_comment":{"href":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zalando-incubator/postgres-operator/pulls/231/commits"},"statuses":{"href":"https://api.github.com/repos/zalando-incubator/postgres-operator/statuses/5b0e2ea66de1a5cf453af241c950b01aed0882b9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Jan-M"}}