Closed
Description
Hello, I have an issue with helm authentication in private repo.
Step to reproduce:
- have a private repo
- Authentication in repo with command:
helm repo add align <https-repo-url> --username=<user> --password=<password>
- make
helm repo update
(doesn't emit any error) - 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:
- I encode in base64 string
<user>:<password>
(same as before) - run command
curl -H"Authorization: Basic <my-base64-string>" <same url where helm reports 401> -o ccbackend-custom
- 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