{"action":"closed","issue":{"url":"https://api.github.com/repos/chartmuseum/helm-push/issues/11","repository_url":"https://api.github.com/repos/chartmuseum/helm-push","labels_url":"https://api.github.com/repos/chartmuseum/helm-push/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/chartmuseum/helm-push/issues/11/comments","events_url":"https://api.github.com/repos/chartmuseum/helm-push/issues/11/events","html_url":"https://github.com/chartmuseum/helm-push/issues/11","id":344902561,"node_id":"MDU6SXNzdWUzNDQ5MDI1NjE=","number":11,"title":"Helm push returns a 401, but curl and helm search/fetch work","user":{"login":"phsteve","id":1628311,"node_id":"MDQ6VXNlcjE2MjgzMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1628311?v=4","gravatar_id":"","url":"https://api.github.com/users/phsteve","html_url":"https://github.com/phsteve","followers_url":"https://api.github.com/users/phsteve/followers","following_url":"https://api.github.com/users/phsteve/following{/other_user}","gists_url":"https://api.github.com/users/phsteve/gists{/gist_id}","starred_url":"https://api.github.com/users/phsteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phsteve/subscriptions","organizations_url":"https://api.github.com/users/phsteve/orgs","repos_url":"https://api.github.com/users/phsteve/repos","events_url":"https://api.github.com/users/phsteve/events{/privacy}","received_events_url":"https://api.github.com/users/phsteve/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-07-26T15:50:44Z","updated_at":"2018-07-31T17:03:20Z","closed_at":"2018-07-31T17:03:19Z","author_association":"NONE","body":"We have a Chartmuseum instance running in our Kubernetes cluster (deployed via the helm chart `chartmuseum-1.6.0`) and for some reason I'm getting a `Error: 401: unauthorized` with `helm push chart_name repo_name`. I've added the repo via `helm repo add --username correct_username --password correct_password repo_name https://chartmuseum.somedomain.com`. I can successfully do `helm search repo_name` and `helm fetch repo_name/chart_name`, so the credentials seem to work unless I try to `helm push`. I can also successfully upload charts with `curl --data-binary \"@chart_name-1.0.0.tar.gz\" https://chartmuseum.somedomain.com/api/charts -u correct_username:correct_password`.\r\n\r\nAny idea why `helm push chart_name repo_name` would give me a 401 or any further steps I could take to debug this?"}}
{"actor":{"display_login":"jdolitsky"}}