{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/docker-registry-extensions/issues/5","labels_url":"https://api.github.com/repos/openshift/docker-registry-extensions/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/openshift/docker-registry-extensions/issues/5/comments","events_url":"https://api.github.com/repos/openshift/docker-registry-extensions/issues/5/events","html_url":"https://github.com/openshift/docker-registry-extensions/issues/5","id":55544699,"number":5,"title":"Docker registry currently does not allow hyphen character in the namespace","user":{"login":"jwforres","id":1467629,"avatar_url":"https://avatars.githubusercontent.com/u/1467629?v=3","gravatar_id":"","url":"https://api.github.com/users/jwforres","html_url":"https://github.com/jwforres","followers_url":"https://api.github.com/users/jwforres/followers","following_url":"https://api.github.com/users/jwforres/following{/other_user}","gists_url":"https://api.github.com/users/jwforres/gists{/gist_id}","starred_url":"https://api.github.com/users/jwforres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwforres/subscriptions","organizations_url":"https://api.github.com/users/jwforres/orgs","repos_url":"https://api.github.com/users/jwforres/repos","events_url":"https://api.github.com/users/jwforres/events{/privacy}","received_events_url":"https://api.github.com/users/jwforres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":8,"created_at":"2015-01-26T22:07:37Z","updated_at":"2015-01-27T19:32:04Z","closed_at":null,"body":"This is problematic for k8s/openshift since our namespaces do allow hyphens, and these namespaces get used automatically when picking the namespace in the docker registry openshift pushes builds to.  Since hyphen is a valid character in a DNS name it should be allowed by docker registry (and is going to be allowed in the next version of the registry).  We will need a workaround in docker-registry-extensions in the mean time."},"comment":{"url":"https://api.github.com/repos/openshift/docker-registry-extensions/issues/comments/71711844","html_url":"https://github.com/openshift/docker-registry-extensions/issues/5#issuecomment-71711844","issue_url":"https://api.github.com/repos/openshift/docker-registry-extensions/issues/5","id":71711844,"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},"created_at":"2015-01-27T19:32:04Z","updated_at":"2015-01-27T19:32:04Z","body":"We can probably set reasonable limits, but I imagine image names growing very long over time - \"sales-division-admin-templates/rhel-python-27-apache-24-mod-wsgi\" being a very long name I can think of being not totally unreasonable.\r\n\r\nI would like really long names to be possible.  At worst, we can figure out how to solve it.\r\n\r\n\r\n> On Jan 27, 2015, at 2:27 PM, Andy Goldstein <notifications@github.com> wrote:\r\n> \r\n> I thought Kubernetes limited namespaces to 63, although now that I'm looking through the code, I see places where it's limited to 24, 63, or 253. Is there a definitive place that says how many characters a namespace can be?\r\n> \r\n> —\r\n> Reply to this email directly or view it on GitHub.\r\n> \r\n"}}