{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/charts/issues/2991","repository_url":"https://api.github.com/repos/kubernetes/charts","labels_url":"https://api.github.com/repos/kubernetes/charts/issues/2991/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/charts/issues/2991/comments","events_url":"https://api.github.com/repos/kubernetes/charts/issues/2991/events","html_url":"https://github.com/kubernetes/charts/issues/2991","id":281118317,"number":2991,"title":"[stable/docker-registry] Docker-registry doesn't work as expected","user":{"login":"andrew-dinunzio","id":34455143,"avatar_url":"https://avatars1.githubusercontent.com/u/34455143?v=4","gravatar_id":"","url":"https://api.github.com/users/andrew-dinunzio","html_url":"https://github.com/andrew-dinunzio","followers_url":"https://api.github.com/users/andrew-dinunzio/followers","following_url":"https://api.github.com/users/andrew-dinunzio/following{/other_user}","gists_url":"https://api.github.com/users/andrew-dinunzio/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew-dinunzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew-dinunzio/subscriptions","organizations_url":"https://api.github.com/users/andrew-dinunzio/orgs","repos_url":"https://api.github.com/users/andrew-dinunzio/repos","events_url":"https://api.github.com/users/andrew-dinunzio/events{/privacy}","received_events_url":"https://api.github.com/users/andrew-dinunzio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-11T18:17:37Z","updated_at":"2018-02-22T15:50:12Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for filing an issue! Before hitting the button, please answer these questions. It's helpful to search the existing GitHub issues first. It's likely that another user has already reported the issue you're facing, or it's a known issue that we're already aware of-->\r\n\r\n**Is this a request for help?**:\r\nYes\r\n\r\n---\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?** (choose one):\r\nBug report\r\n\r\n<!--\r\nIf this is a BUG REPORT, please:\r\n  - Fill in as much of the template below as you can.  If you leave out\r\n    information, we can't help you as well.\r\n\r\nIf this is a FEATURE REQUEST, please:\r\n  - Describe *in detail* the feature/behavior/change you'd like to see.\r\n\r\nIn both cases, be ready for followup questions, and please respond in a timely\r\nmanner.  If we can't reproduce a bug or think a feature already exists, we\r\nmight close your issue.  If we're wrong, PLEASE feel free to reopen it and\r\nexplain why.\r\n-->\r\n\r\n**Version of Helm and Kubernetes**:\r\nHelm:\r\n```\r\n$ helm version\r\nClient: &version.Version{SemVer:\"v2.7.2\", GitCommit:\"8478fb4fc723885b155c924d1c8c410b7a9444e6\", GitTreeState:\"clean\"}\r\nServer: &version.Version{SemVer:\"v2.7.2\", GitCommit:\"8478fb4fc723885b155c924d1c8c410b7a9444e6\", GitTreeState:\"clean\"}\r\n```\r\nKubernetes:\r\n```\r\n$ kubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"7\", GitVersion:\"v1.7.0\", GitCommit:\"d3ada0119e776222f11ec7945e6d860061339aad\", GitTreeState:\"clean\", BuildDate:\"2017-06-29T23:15:59Z\", GoVersion:\"go1.8.3\", Compiler:\"gc\", Platform:\"windows/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"8\", GitVersion:\"v1.8.0\", GitCommit:\"0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4\", GitTreeState:\"clean\", BuildDate:\"2017-11-29T22:43:34Z\", GoVersion:\"go1.9.1\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n\r\n**Which chart**:\r\nstable/docker-registry-1.0.0\r\n\r\n**What happened**:\r\nRunning the docker push command (below) results in the following error:\r\n```\r\n$ docker push localhost:8080/hello-world\r\nThe push refers to a repository [localhost:8080/hello-world]\r\nGet http://localhost:8080/v2/: dial tcp 127.0.0.1:8080: getsockopt: connection refused\r\n```\r\n\r\nI'm not sure how to properly use this. Anything I try seems to result in \"connection refused\" errors. Adding 127.0.0.1/8 to Docker's insecure registries list didn't seem to fix it.\r\n\r\n**What you expected to happen**:\r\n1. I'm not sure if I'm missing a step / doing something wrong or if something is broken in this chart - it would be nice if the README included a minimal example of something that is expected to work, so I can know if the issue is on my end.\r\n2. I would expect that when I follow the instructions below, I should be able to docker push to localhost:8080\r\n\r\n**How to reproduce it** (as minimally and precisely as possible):\r\n\r\n1. `helm init`\r\n2. `helm install stable/docker-registry`\r\n3. Run the instructions listed when chart is installed:\r\n```\r\nexport POD_NAME=$(kubectl get pods --namespace default -l \"app=docker-registry,release=musty-marmot\" -o jsonpath=\"{.items[0].metadata.name}\")\r\necho \"Visit http://127.0.0.1:8080 to use your application\"\r\nkubectl port-forward $POD_NAME 8080:5000\r\n```\r\n4. `docker pull hello-world`\r\n5. `docker tag hello-world localhost:8080/hello-world`\r\n6. `docker push localhost:8080/hello-world`\r\n\r\n**Anything else we need to know**:\r\nThis is running on a minikube cluster (minikube version: v0.24.1)\r\n\r\nI have GlobalProtect VPN running, though disabling it doesn't seem to fix the issue.\r\n\r\nI'm using git-bash on Windows.\r\n\r\nHere is the output of some curl commands while port-forwarding is enabled:\r\n```\r\n$ curl localhost:8080/\r\n\r\n$ curl localhost:8080/asdf\r\n404 page not found\r\n\r\n$ curl localhost:8080/v2/\r\n{}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/charts/issues/comments/367724133","html_url":"https://github.com/kubernetes/charts/issues/2991#issuecomment-367724133","issue_url":"https://api.github.com/repos/kubernetes/charts/issues/2991","id":367724133,"user":{"login":"jonathanschwarze","id":19164090,"avatar_url":"https://avatars0.githubusercontent.com/u/19164090?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanschwarze","html_url":"https://github.com/jonathanschwarze","followers_url":"https://api.github.com/users/jonathanschwarze/followers","following_url":"https://api.github.com/users/jonathanschwarze/following{/other_user}","gists_url":"https://api.github.com/users/jonathanschwarze/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanschwarze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanschwarze/subscriptions","organizations_url":"https://api.github.com/users/jonathanschwarze/orgs","repos_url":"https://api.github.com/users/jonathanschwarze/repos","events_url":"https://api.github.com/users/jonathanschwarze/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanschwarze/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T15:50:12Z","updated_at":"2018-02-22T15:50:12Z","author_association":"NONE","body":"I ran into the same issue. Using an old version is not possible since the docker-registry moved to stable. Any work arounds anyone? Any idea? \r\n\r\n"}}
{"actor":{"display_login":"jonathanschwarze"}}