Unable to Fetch Helm Chart from Self-hosted ChartMuseum Registry #5686
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened?
When attempting to use a Helm chart from a self-hosted ChartMuseum registry with basic authentication through kustomize, the following error occurs:
What did you expect to happen?
I expected kustomize to successfully fetch the Helm chart from the self-hosted ChartMuseum registry using the provided basic authentication credentials.
How can we reproduce it (as minimally and precisely as possible)?
To reproduce the issue:
Set up a self-hosted ChartMuseum registry requiring basic authentication and push
mywantedchart
to itAdd the ChartMuseum repository to Helm using the command:
helm repo add mychartmuseumrepo https://mychartmuseumrepo.com -u myuser -p mypassword
.Create a kustomization.yaml file with the following content:
Expected output
Kustomize should successfully fetch the Helm chart from the specified repository using the provided authentication credentials.
Actual output
Kustomize fails to fetch the Helm chart from the repository and returns a 401 Unauthorized error.
Kustomize version
v5.4.1
Operating system
MacOS
The text was updated successfully, but these errors were encountered: