{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/47301329","id":47301329,"diff_hunk":"@@ -432,4 +432,39 @@ to run:\n `oc delete istag/ruby:latest`\n ====\n \n+[[insecure-registries]]\n \n+=== Importing images from insecure registries\n+An image stream can be configured to import tag and image metadata from an image\n+repository that is signed with a self-signed certificate. To do that, add\n+`*openshift.io/image.insecureRepository*` annotation set to `*true*`. This setting\n+will bypass certificate validation when connecting to registry.\n+\n+====\n+\n+[source,json]\n+----\n+{\n+  \"kind\": \"ImageStream\",\n+  \"apiVersion\": \"v1\",\n+  \"metadata\": {\n+    \"name\": \"ruby\",\n+    \"annotations\": {\n+      \"openshift.io/image.insecureRepository\": \"true\"\n+    }\n+  },\n+  \"spec\": {\n+    \"dockerImageRepository\": \"my.repo.com:5000/myimage\"\n+  }\n+}\n+----\n+====","path":"architecture/core_concepts/builds_and_image_streams.adoc","position":30,"original_position":30,"commit_id":"f553069b13f3a057707f7eadd56710b696383c15","original_commit_id":"f553069b13f3a057707f7eadd56710b696383c15","user":{"login":"bfallonf","id":5474938,"avatar_url":"https://avatars.githubusercontent.com/u/5474938?v=3","gravatar_id":"","url":"https://api.github.com/users/bfallonf","html_url":"https://github.com/bfallonf","followers_url":"https://api.github.com/users/bfallonf/followers","following_url":"https://api.github.com/users/bfallonf/following{/other_user}","gists_url":"https://api.github.com/users/bfallonf/gists{/gist_id}","starred_url":"https://api.github.com/users/bfallonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfallonf/subscriptions","organizations_url":"https://api.github.com/users/bfallonf/orgs","repos_url":"https://api.github.com/users/bfallonf/repos","events_url":"https://api.github.com/users/bfallonf/events{/privacy}","received_events_url":"https://api.github.com/users/bfallonf/received_events","type":"User","site_admin":false},"body":"@soltysh Any chance we can have a yaml example instead? That's what we're trying to aim for in the docs.","created_at":"2015-12-10T23:12:57Z","updated_at":"2015-12-10T23:12:57Z","html_url":"https://github.com/openshift/openshift-docs/pull/1317#discussion_r47301329","pull_request_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/1317","_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/47301329"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/1317#discussion_r47301329"},"pull_request":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/1317"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/1317","id":53265291,"html_url":"https://github.com/openshift/openshift-docs/pull/1317","diff_url":"https://github.com/openshift/openshift-docs/pull/1317.diff","patch_url":"https://github.com/openshift/openshift-docs/pull/1317.patch","issue_url":"https://api.github.com/repos/openshift/openshift-docs/issues/1317","number":1317,"state":"open","locked":false,"title":"Added information about insecureRepository annotation for ImageStreams","user":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"body":"@ncdc @pweil- @gabemontero @bparees \r\n@bfallonf fyi","created_at":"2015-12-10T14:31:37Z","updated_at":"2015-12-10T23:12:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f76f07e54e6bb774112d4a58c9fb459e0034e74","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/1317/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/1317/comments","review_comment_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/openshift-docs/issues/1317/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-docs/statuses/f553069b13f3a057707f7eadd56710b696383c15","head":{"label":"soltysh:insecure_registry","ref":"insecure_registry","sha":"f553069b13f3a057707f7eadd56710b696383c15","user":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"repo":{"id":28906916,"name":"openshift-docs","full_name":"soltysh/openshift-docs","owner":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/soltysh/openshift-docs","description":"OpenShift Documentation","fork":true,"url":"https://api.github.com/repos/soltysh/openshift-docs","forks_url":"https://api.github.com/repos/soltysh/openshift-docs/forks","keys_url":"https://api.github.com/repos/soltysh/openshift-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/soltysh/openshift-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/soltysh/openshift-docs/teams","hooks_url":"https://api.github.com/repos/soltysh/openshift-docs/hooks","issue_events_url":"https://api.github.com/repos/soltysh/openshift-docs/issues/events{/number}","events_url":"https://api.github.com/repos/soltysh/openshift-docs/events","assignees_url":"https://api.github.com/repos/soltysh/openshift-docs/assignees{/user}","branches_url":"https://api.github.com/repos/soltysh/openshift-docs/branches{/branch}","tags_url":"https://api.github.com/repos/soltysh/openshift-docs/tags","blobs_url":"https://api.github.com/repos/soltysh/openshift-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/soltysh/openshift-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/soltysh/openshift-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/soltysh/openshift-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/soltysh/openshift-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/soltysh/openshift-docs/languages","stargazers_url":"https://api.github.com/repos/soltysh/openshift-docs/stargazers","contributors_url":"https://api.github.com/repos/soltysh/openshift-docs/contributors","subscribers_url":"https://api.github.com/repos/soltysh/openshift-docs/subscribers","subscription_url":"https://api.github.com/repos/soltysh/openshift-docs/subscription","commits_url":"https://api.github.com/repos/soltysh/openshift-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/soltysh/openshift-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/soltysh/openshift-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/soltysh/openshift-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/soltysh/openshift-docs/contents/{+path}","compare_url":"https://api.github.com/repos/soltysh/openshift-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/soltysh/openshift-docs/merges","archive_url":"https://api.github.com/repos/soltysh/openshift-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/soltysh/openshift-docs/downloads","issues_url":"https://api.github.com/repos/soltysh/openshift-docs/issues{/number}","pulls_url":"https://api.github.com/repos/soltysh/openshift-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/soltysh/openshift-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/soltysh/openshift-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/soltysh/openshift-docs/labels{/name}","releases_url":"https://api.github.com/repos/soltysh/openshift-docs/releases{/id}","created_at":"2015-01-07T09:02:56Z","updated_at":"2015-05-08T12:30:57Z","pushed_at":"2015-12-10T14:50:06Z","git_url":"git://github.com/soltysh/openshift-docs.git","ssh_url":"git@github.com:soltysh/openshift-docs.git","clone_url":"https://github.com/soltysh/openshift-docs.git","svn_url":"https://github.com/soltysh/openshift-docs","homepage":null,"size":6588,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"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":"openshift:master","ref":"master","sha":"e5caa217e76bbd718cbd8a55301b4efb7abc8e36","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":21740844,"name":"openshift-docs","full_name":"openshift/openshift-docs","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/openshift-docs","description":"OpenShift Documentation","fork":false,"url":"https://api.github.com/repos/openshift/openshift-docs","forks_url":"https://api.github.com/repos/openshift/openshift-docs/forks","keys_url":"https://api.github.com/repos/openshift/openshift-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/openshift-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/openshift-docs/teams","hooks_url":"https://api.github.com/repos/openshift/openshift-docs/hooks","issue_events_url":"https://api.github.com/repos/openshift/openshift-docs/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/openshift-docs/events","assignees_url":"https://api.github.com/repos/openshift/openshift-docs/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/openshift-docs/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/openshift-docs/tags","blobs_url":"https://api.github.com/repos/openshift/openshift-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/openshift-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/openshift-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/openshift-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/openshift-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/openshift-docs/languages","stargazers_url":"https://api.github.com/repos/openshift/openshift-docs/stargazers","contributors_url":"https://api.github.com/repos/openshift/openshift-docs/contributors","subscribers_url":"https://api.github.com/repos/openshift/openshift-docs/subscribers","subscription_url":"https://api.github.com/repos/openshift/openshift-docs/subscription","commits_url":"https://api.github.com/repos/openshift/openshift-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/openshift-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/openshift-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/openshift-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/openshift-docs/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/openshift-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/openshift-docs/merges","archive_url":"https://api.github.com/repos/openshift/openshift-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/openshift-docs/downloads","issues_url":"https://api.github.com/repos/openshift/openshift-docs/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/openshift-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/openshift-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/openshift-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/openshift-docs/labels{/name}","releases_url":"https://api.github.com/repos/openshift/openshift-docs/releases{/id}","created_at":"2014-07-11T15:14:42Z","updated_at":"2015-11-26T11:21:41Z","pushed_at":"2015-12-10T20:48:16Z","git_url":"git://github.com/openshift/openshift-docs.git","ssh_url":"git@github.com:openshift/openshift-docs.git","clone_url":"https://github.com/openshift/openshift-docs.git","svn_url":"https://github.com/openshift/openshift-docs","homepage":null,"size":8712,"stargazers_count":33,"watchers_count":33,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":159,"mirror_url":null,"open_issues_count":81,"forks":159,"open_issues":81,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/1317"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/1317"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/1317"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/1317/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/1317/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/1317/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-docs/statuses/f553069b13f3a057707f7eadd56710b696383c15"}}}}