{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/3563","labels_url":"https://api.github.com/repos/openshift/origin/issues/3563/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/3563/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/3563/events","html_url":"https://github.com/openshift/origin/issues/3563","id":92879067,"number":3563,"title":"templates should be parameterized for imagestream namespace reference with default value of \"openshift\"","user":{"login":"thoraxe","id":94413,"avatar_url":"https://avatars.githubusercontent.com/u/94413?v=3","gravatar_id":"","url":"https://api.github.com/users/thoraxe","html_url":"https://github.com/thoraxe","followers_url":"https://api.github.com/users/thoraxe/followers","following_url":"https://api.github.com/users/thoraxe/following{/other_user}","gists_url":"https://api.github.com/users/thoraxe/gists{/gist_id}","starred_url":"https://api.github.com/users/thoraxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoraxe/subscriptions","organizations_url":"https://api.github.com/users/thoraxe/orgs","repos_url":"https://api.github.com/users/thoraxe/repos","events_url":"https://api.github.com/users/thoraxe/events{/privacy}","received_events_url":"https://api.github.com/users/thoraxe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/area/usability","name":"area/usability","color":"006b75"},{"url":"https://api.github.com/repos/openshift/origin/labels/component/templates","name":"component/templates","color":"0052cc"},{"url":"https://api.github.com/repos/openshift/origin/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/openshift/origin/labels/priority/P3","name":"priority/P3","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"gabemontero","id":3594868,"avatar_url":"https://avatars.githubusercontent.com/u/3594868?v=3","gravatar_id":"","url":"https://api.github.com/users/gabemontero","html_url":"https://github.com/gabemontero","followers_url":"https://api.github.com/users/gabemontero/followers","following_url":"https://api.github.com/users/gabemontero/following{/other_user}","gists_url":"https://api.github.com/users/gabemontero/gists{/gist_id}","starred_url":"https://api.github.com/users/gabemontero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabemontero/subscriptions","organizations_url":"https://api.github.com/users/gabemontero/orgs","repos_url":"https://api.github.com/users/gabemontero/repos","events_url":"https://api.github.com/users/gabemontero/events{/privacy}","received_events_url":"https://api.github.com/users/gabemontero/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-07-03T13:41:25Z","updated_at":"2015-08-21T15:05:28Z","closed_at":null,"body":"\"we can/should parameterize our templates so that the namespace of the imagestream reference is a parameter with a default value of openshift. that way you can change it to an imagestream in another namespace easily, but by default get working behavior. I don't see this is as a high priority, but it's worth knowing it can be done\"\r\n\r\nCurrently, the S2I user story looks like:\r\n\r\n* As a user\r\n* I select a code repository\r\n* And then select a builder image (which may be in the openshift namespace but may be in my own namespace)\r\n* my buildconfiguration includes the correct namespace for the imagestream\r\n\r\nHowever, when using a template, OpenShift will not crawl the openshift namespace when trying to find the imagestream for the buildconfiguration.\r\n\r\nThis is a somewhat inconsistent user experience, because I do not have to know where the imagestream is when directly using S2I.\r\n\r\nIt would be more consistent if the buildconfiguration logic on the back-end would check if an IS exists in the openshift namespace *and* the current namespace before deciding that the IS can't be found.\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/133456422","html_url":"https://github.com/openshift/origin/issues/3563#issuecomment-133456422","issue_url":"https://api.github.com/repos/openshift/origin/issues/3563","id":133456422,"user":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T15:05:28Z","updated_at":"2015-08-21T15:05:28Z","body":"https://github.com/openshift/origin/issues/3901 is already open to improve grouping templates by namespace or indicating the \"shared\" nature of the ones from the \"openshift\" namespace. I don't think we would want to show all templates from all namespaces in the create flow for a particular namespace."}}