{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/3085","labels_url":"https://api.github.com/repos/openshift/origin/issues/3085/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/3085/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/3085/events","html_url":"https://github.com/openshift/origin/issues/3085","id":87213541,"number":3085,"title":"Adding example DB from template/image-streams in openshift namespace using web console doesn't work","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},"labels":[],"state":"open","locked":false,"assignee":{"login":"bparees","id":4974046,"avatar_url":"https://avatars.githubusercontent.com/u/4974046?v=3","gravatar_id":"","url":"https://api.github.com/users/bparees","html_url":"https://github.com/bparees","followers_url":"https://api.github.com/users/bparees/followers","following_url":"https://api.github.com/users/bparees/following{/other_user}","gists_url":"https://api.github.com/users/bparees/gists{/gist_id}","starred_url":"https://api.github.com/users/bparees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bparees/subscriptions","organizations_url":"https://api.github.com/users/bparees/orgs","repos_url":"https://api.github.com/users/bparees/repos","events_url":"https://api.github.com/users/bparees/events{/privacy}","received_events_url":"https://api.github.com/users/bparees/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-06-11T05:06:08Z","updated_at":"2015-06-11T14:45:27Z","closed_at":null,"body":"Run this:\r\n```\r\noc create -n openshift -f examples/image-streams/image-streams-centos7.json\r\noc create -n openshift -f examples/db-templates\r\n```\r\n\r\nIn the web console:\r\n1. Log in as \"foo\"\r\n2. Create a project \"test\"\r\n3. In the project, do Create... > Browse all templates > Select mongodb-ephemeral > Create\r\n\r\nThe resulting DeploymentConfig doesn't indicate the `from` ImageStreamTag is in the openshift namespace:\r\n```\r\n$ oc get dc/mongodb -n test -o json\r\n...\r\n    \"kind\": \"DeploymentConfig\",\r\n    \"metadata\": {\r\n        \"name\": \"mongodb\",\r\n        \"namespace\": \"test\",\r\n...\r\n    },\r\n    \"spec\": {\r\n...\r\n        \"triggers\": [\r\n            {\r\n                \"type\": \"ImageChange\",\r\n                \"imageChangeParams\": {\r\n                    \"automatic\": true,\r\n                    \"containerNames\": [\r\n                        \"mongodb\"\r\n                    ],\r\n                    \"from\": {\r\n                        \"kind\": \"ImageStreamTag\",\r\n                        \"name\": \"mongodb:latest\"\r\n                    }\r\n                }\r\n            },\r\n... \r\n       ],\r\n```\r\n\r\nWhat is responsible for setting that namespace?"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/111158606","html_url":"https://github.com/openshift/origin/issues/3085#issuecomment-111158606","issue_url":"https://api.github.com/repos/openshift/origin/issues/3085","id":111158606,"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},"created_at":"2015-06-11T14:45:27Z","updated_at":"2015-06-11T14:45:27Z","body":"@liggitt I would assume so, if it doesn't work with the current policy."}}