{"action":"opened","number":6680,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/6680","id":56192189,"html_url":"https://github.com/openshift/origin/pull/6680","diff_url":"https://github.com/openshift/origin/pull/6680.diff","patch_url":"https://github.com/openshift/origin/pull/6680.patch","issue_url":"https://api.github.com/repos/openshift/origin/issues/6680","number":6680,"state":"open","locked":false,"title":"Add admission plugin to force builds to pull","user":{"login":"ncdc","id":354,"avatar_url":"https://avatars.githubusercontent.com/u/354?v=3","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false},"body":"Add a new admission controller plugin that sets forcePull to true on every build and build config,\r\nregardless of user intent. This is not meant to be enabled by default. It's useful to ensure that a\r\nuser is not allowed to run an image that's already been pulled down to a node if they don't have the\r\nauthorization to use it.\r\n\r\nFor https://trello.com/c/OJ7uk5Rh/293-2-containers-should-not-be-able-to-use-pre-pulled-copies-of-images-without-authorization","created_at":"2016-01-15T16:43:23Z","updated_at":"2016-01-15T16:43:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88429411a2b7ff44fe69b83640bb8a565a4c4731","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin/pulls/6680/commits","review_comments_url":"https://api.github.com/repos/openshift/origin/pulls/6680/comments","review_comment_url":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin/issues/6680/comments","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/59b512c1b57566967b016e740035d2ce9007d6ca","head":{"label":"ncdc:force-build-image-pulls","ref":"force-build-image-pulls","sha":"59b512c1b57566967b016e740035d2ce9007d6ca","user":{"login":"ncdc","id":354,"avatar_url":"https://avatars.githubusercontent.com/u/354?v=3","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false},"repo":{"id":23624564,"name":"origin","full_name":"ncdc/origin","owner":{"login":"ncdc","id":354,"avatar_url":"https://avatars.githubusercontent.com/u/354?v=3","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ncdc/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/ncdc/origin","forks_url":"https://api.github.com/repos/ncdc/origin/forks","keys_url":"https://api.github.com/repos/ncdc/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ncdc/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ncdc/origin/teams","hooks_url":"https://api.github.com/repos/ncdc/origin/hooks","issue_events_url":"https://api.github.com/repos/ncdc/origin/issues/events{/number}","events_url":"https://api.github.com/repos/ncdc/origin/events","assignees_url":"https://api.github.com/repos/ncdc/origin/assignees{/user}","branches_url":"https://api.github.com/repos/ncdc/origin/branches{/branch}","tags_url":"https://api.github.com/repos/ncdc/origin/tags","blobs_url":"https://api.github.com/repos/ncdc/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ncdc/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ncdc/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/ncdc/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ncdc/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/ncdc/origin/languages","stargazers_url":"https://api.github.com/repos/ncdc/origin/stargazers","contributors_url":"https://api.github.com/repos/ncdc/origin/contributors","subscribers_url":"https://api.github.com/repos/ncdc/origin/subscribers","subscription_url":"https://api.github.com/repos/ncdc/origin/subscription","commits_url":"https://api.github.com/repos/ncdc/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/ncdc/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/ncdc/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/ncdc/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/ncdc/origin/contents/{+path}","compare_url":"https://api.github.com/repos/ncdc/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ncdc/origin/merges","archive_url":"https://api.github.com/repos/ncdc/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ncdc/origin/downloads","issues_url":"https://api.github.com/repos/ncdc/origin/issues{/number}","pulls_url":"https://api.github.com/repos/ncdc/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/ncdc/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/ncdc/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ncdc/origin/labels{/name}","releases_url":"https://api.github.com/repos/ncdc/origin/releases{/id}","created_at":"2014-09-03T14:51:59Z","updated_at":"2015-04-30T17:07:19Z","pushed_at":"2016-01-15T16:42:26Z","git_url":"git://github.com/ncdc/origin.git","ssh_url":"git@github.com:ncdc/origin.git","clone_url":"https://github.com/ncdc/origin.git","svn_url":"https://github.com/ncdc/origin","homepage":"https://openshift.github.io","size":193540,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"589cc254752c0b8d931ba62b813d7a21041a831d","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":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","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}","created_at":"2014-07-30T20:04:05Z","updated_at":"2016-01-15T12:40:12Z","pushed_at":"2016-01-15T16:43:24Z","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":247861,"stargazers_count":912,"watchers_count":912,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":580,"mirror_url":null,"open_issues_count":776,"forks":580,"open_issues":776,"watchers":912,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/6680"},"html":{"href":"https://github.com/openshift/origin/pull/6680"},"issue":{"href":"https://api.github.com/repos/openshift/origin/issues/6680"},"comments":{"href":"https://api.github.com/repos/openshift/origin/issues/6680/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin/pulls/6680/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin/pulls/6680/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin/statuses/59b512c1b57566967b016e740035d2ce9007d6ca"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":221,"deletions":0,"changed_files":2}}