{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/origin/pulls/comments/56354640","id":56354640,"diff_hunk":"@@ -0,0 +1,130 @@\n+{\n+    \"kind\": \"Template\",\n+    \"apiVersion\": \"v1\",\n+    \"metadata\": {\n+        \"name\": \"registry-project-request\",\n+        \"creationTimestamp\": null\n+    },\n+    \"objects\": [\n+        {\n+            \"kind\": \"Project\",\n+            \"apiVersion\": \"v1\",\n+            \"metadata\": {\n+                \"name\": \"${PROJECT_NAME}\",\n+                \"creationTimestamp\": null,\n+                \"annotations\": {\n+                    \"openshift.io/description\": \"${PROJECT_DESCRIPTION}\",\n+                    \"openshift.io/display-name\": \"${PROJECT_DISPLAYNAME}\",\n+                    \"openshift.io/requester\": \"${PROJECT_REQUESTING_USER}\"\n+                }\n+            },\n+            \"spec\": {},\n+            \"status\": {}\n+        },\n+        {\n+            \"kind\": \"RoleBinding\",\n+            \"apiVersion\": \"v1\",\n+            \"metadata\": {\n+                \"name\": \"registry-admin\",\n+                \"namespace\": \"${PROJECT_NAME}\",\n+                \"creationTimestamp\": null\n+            },\n+            \"userNames\": [\n+                \"${PROJECT_ADMIN_USER}\"\n+            ],\n+            \"groupNames\": null,\n+            \"subjects\": [\n+                {\n+                    \"kind\": \"User\",\n+                    \"name\": \"${PROJECT_ADMIN_USER}\"\n+                }\n+            ],\n+            \"roleRef\": {\n+                \"name\": \"registry-admin\"\n+            }\n+        },\n+        {\n+            \"kind\": \"RoleBinding\",\n+            \"apiVersion\": \"v1\",\n+            \"metadata\": {\n+                \"name\": \"system:image-pullers\",\n+                \"namespace\": \"${PROJECT_NAME}\",\n+                \"creationTimestamp\": null\n+            },\n+            \"userNames\": null,\n+            \"groupNames\": [\n+                \"system:serviceaccounts:${PROJECT_NAME}\"","path":"images/atomic-registry-quickstart/registry-project-template.json","position":56,"original_position":56,"commit_id":"38b21ec4db20e12069f2d7a392a352497dd60a55","original_commit_id":"38b21ec4db20e12069f2d7a392a352497dd60a55","user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"body":"This is unfortunate, you shouldn't have to do this.  I would recommend switching this binding to binding to each individual service account - that allows you to use subjects for ServiceAccount which means you don't have to have the project name.","created_at":"2016-03-16T15:28:55Z","updated_at":"2016-03-16T15:28:55Z","html_url":"https://github.com/openshift/origin/pull/7484#discussion_r56354640","pull_request_url":"https://api.github.com/repos/openshift/origin/pulls/7484","_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments/56354640"},"html":{"href":"https://github.com/openshift/origin/pull/7484#discussion_r56354640"},"pull_request":{"href":"https://api.github.com/repos/openshift/origin/pulls/7484"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/7484","id":60015693,"html_url":"https://github.com/openshift/origin/pull/7484","diff_url":"https://github.com/openshift/origin/pull/7484.diff","patch_url":"https://github.com/openshift/origin/pull/7484.patch","issue_url":"https://api.github.com/repos/openshift/origin/issues/7484","number":7484,"state":"open","locked":false,"title":"[WIP] Atomic registry quickstart","user":{"login":"aweiteka","id":1764461,"avatar_url":"https://avatars.githubusercontent.com/u/1764461?v=3","gravatar_id":"","url":"https://api.github.com/users/aweiteka","html_url":"https://github.com/aweiteka","followers_url":"https://api.github.com/users/aweiteka/followers","following_url":"https://api.github.com/users/aweiteka/following{/other_user}","gists_url":"https://api.github.com/users/aweiteka/gists{/gist_id}","starred_url":"https://api.github.com/users/aweiteka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aweiteka/subscriptions","organizations_url":"https://api.github.com/users/aweiteka/orgs","repos_url":"https://api.github.com/users/aweiteka/repos","events_url":"https://api.github.com/users/aweiteka/events{/privacy}","received_events_url":"https://api.github.com/users/aweiteka/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-19T22:16:15Z","updated_at":"2016-03-16T15:28:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a28250e129cdcaef072a8661326137e3b409d0f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin/pulls/7484/commits","review_comments_url":"https://api.github.com/repos/openshift/origin/pulls/7484/comments","review_comment_url":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin/issues/7484/comments","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/38b21ec4db20e12069f2d7a392a352497dd60a55","head":{"label":"aweiteka:atomic-registry-quickstart","ref":"atomic-registry-quickstart","sha":"38b21ec4db20e12069f2d7a392a352497dd60a55","user":{"login":"aweiteka","id":1764461,"avatar_url":"https://avatars.githubusercontent.com/u/1764461?v=3","gravatar_id":"","url":"https://api.github.com/users/aweiteka","html_url":"https://github.com/aweiteka","followers_url":"https://api.github.com/users/aweiteka/followers","following_url":"https://api.github.com/users/aweiteka/following{/other_user}","gists_url":"https://api.github.com/users/aweiteka/gists{/gist_id}","starred_url":"https://api.github.com/users/aweiteka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aweiteka/subscriptions","organizations_url":"https://api.github.com/users/aweiteka/orgs","repos_url":"https://api.github.com/users/aweiteka/repos","events_url":"https://api.github.com/users/aweiteka/events{/privacy}","received_events_url":"https://api.github.com/users/aweiteka/received_events","type":"User","site_admin":false},"repo":{"id":40665724,"name":"origin","full_name":"aweiteka/origin","owner":{"login":"aweiteka","id":1764461,"avatar_url":"https://avatars.githubusercontent.com/u/1764461?v=3","gravatar_id":"","url":"https://api.github.com/users/aweiteka","html_url":"https://github.com/aweiteka","followers_url":"https://api.github.com/users/aweiteka/followers","following_url":"https://api.github.com/users/aweiteka/following{/other_user}","gists_url":"https://api.github.com/users/aweiteka/gists{/gist_id}","starred_url":"https://api.github.com/users/aweiteka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aweiteka/subscriptions","organizations_url":"https://api.github.com/users/aweiteka/orgs","repos_url":"https://api.github.com/users/aweiteka/repos","events_url":"https://api.github.com/users/aweiteka/events{/privacy}","received_events_url":"https://api.github.com/users/aweiteka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aweiteka/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/aweiteka/origin","forks_url":"https://api.github.com/repos/aweiteka/origin/forks","keys_url":"https://api.github.com/repos/aweiteka/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aweiteka/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aweiteka/origin/teams","hooks_url":"https://api.github.com/repos/aweiteka/origin/hooks","issue_events_url":"https://api.github.com/repos/aweiteka/origin/issues/events{/number}","events_url":"https://api.github.com/repos/aweiteka/origin/events","assignees_url":"https://api.github.com/repos/aweiteka/origin/assignees{/user}","branches_url":"https://api.github.com/repos/aweiteka/origin/branches{/branch}","tags_url":"https://api.github.com/repos/aweiteka/origin/tags","blobs_url":"https://api.github.com/repos/aweiteka/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aweiteka/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aweiteka/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/aweiteka/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aweiteka/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/aweiteka/origin/languages","stargazers_url":"https://api.github.com/repos/aweiteka/origin/stargazers","contributors_url":"https://api.github.com/repos/aweiteka/origin/contributors","subscribers_url":"https://api.github.com/repos/aweiteka/origin/subscribers","subscription_url":"https://api.github.com/repos/aweiteka/origin/subscription","commits_url":"https://api.github.com/repos/aweiteka/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/aweiteka/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/aweiteka/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/aweiteka/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/aweiteka/origin/contents/{+path}","compare_url":"https://api.github.com/repos/aweiteka/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aweiteka/origin/merges","archive_url":"https://api.github.com/repos/aweiteka/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aweiteka/origin/downloads","issues_url":"https://api.github.com/repos/aweiteka/origin/issues{/number}","pulls_url":"https://api.github.com/repos/aweiteka/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/aweiteka/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/aweiteka/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aweiteka/origin/labels{/name}","releases_url":"https://api.github.com/repos/aweiteka/origin/releases{/id}","deployments_url":"https://api.github.com/repos/aweiteka/origin/deployments","created_at":"2015-08-13T15:15:54Z","updated_at":"2015-08-13T15:15:58Z","pushed_at":"2016-03-15T21:15:46Z","git_url":"git://github.com/aweiteka/origin.git","ssh_url":"git@github.com:aweiteka/origin.git","clone_url":"https://github.com/aweiteka/origin.git","svn_url":"https://github.com/aweiteka/origin","homepage":"http://www.openshift.org","size":225457,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openshift:master","ref":"master","sha":"2de63e30dc8035b07f275685e3d6867c84e89c2b","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":22442668,"name":"origin","full_name":"openshift/origin","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/origin","description":"The Continuous Application Platform - build, deploy, and manage cloud-native and legacy applications on Kubernetes and Docker","fork":false,"url":"https://api.github.com/repos/openshift/origin","forks_url":"https://api.github.com/repos/openshift/origin/forks","keys_url":"https://api.github.com/repos/openshift/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/origin/teams","hooks_url":"https://api.github.com/repos/openshift/origin/hooks","issue_events_url":"https://api.github.com/repos/openshift/origin/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/origin/events","assignees_url":"https://api.github.com/repos/openshift/origin/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/origin/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/origin/tags","blobs_url":"https://api.github.com/repos/openshift/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/origin/languages","stargazers_url":"https://api.github.com/repos/openshift/origin/stargazers","contributors_url":"https://api.github.com/repos/openshift/origin/contributors","subscribers_url":"https://api.github.com/repos/openshift/origin/subscribers","subscription_url":"https://api.github.com/repos/openshift/origin/subscription","commits_url":"https://api.github.com/repos/openshift/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/origin/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/origin/merges","archive_url":"https://api.github.com/repos/openshift/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/origin/downloads","issues_url":"https://api.github.com/repos/openshift/origin/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/origin/labels{/name}","releases_url":"https://api.github.com/repos/openshift/origin/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/origin/deployments","created_at":"2014-07-30T20:04:05Z","updated_at":"2016-03-16T14:37:13Z","pushed_at":"2016-03-16T15:28:22Z","git_url":"git://github.com/openshift/origin.git","ssh_url":"git@github.com:openshift/origin.git","clone_url":"https://github.com/openshift/origin.git","svn_url":"https://github.com/openshift/origin","homepage":"http://www.openshift.org","size":289394,"stargazers_count":1129,"watchers_count":1129,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":699,"mirror_url":null,"open_issues_count":953,"forks":699,"open_issues":953,"watchers":1129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/7484"},"html":{"href":"https://github.com/openshift/origin/pull/7484"},"issue":{"href":"https://api.github.com/repos/openshift/origin/issues/7484"},"comments":{"href":"https://api.github.com/repos/openshift/origin/issues/7484/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin/pulls/7484/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin/pulls/7484/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin/statuses/38b21ec4db20e12069f2d7a392a352497dd60a55"}}}}