8000 Helm reponds with 401 error on private repo · Issue #9997 · helm/helm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Helm reponds with 401 error on private repo #9997
Closed
@stavenko

Description

@stavenko

Hello, I have an issue with helm authentication in private repo.

Step to reproduce:

  1. have a private repo
  2. Authentication in repo with command: helm repo add align <https-repo-url> --username=<user> --password=<password>
  3. make helm repo update (doesn't emit any error)
  4. make helm pull align/ccbackend-custom //let me spoil chart name for ya

Expected: A chart file downloaded in current directory.
Actual: Error: failed to fetch <specific repo-url>/ccbackend-custom/ccbackend-custom-1.2.2.tgz : 401 Unauthorized

More info:

  1. I encode in base64 string <user>:<password> (same as before)
  2. run command curl -H"Authorization: Basic <my-base64-string>" <same url where helm reports 401> -o ccbackend-custom
  3. I get helm-chart.

Output of helm version:
3.6.3

My current platform:
Mac OS X Big Sur M1 (arm64)

Output of kubectl version:

unrelated

Cloud Provider/Platform (AKS, GKE, Minikube etc.):

unrelated

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0