Skip to content

Private helm repository access fails when url ends in / #3606

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Jokester761 opened this issue Mar 25, 2025 · 0 comments
Open

Private helm repository access fails when url ends in / #3606

Jokester761 opened this issue Mar 25, 2025 · 0 comments

Comments

@Jokester761
Copy link

Environment

Device and OS: RHEL 8
App version: zarf 0.41
Kubernetes distro being used: N/A
Other:

Steps to reproduce

helm repo add "$repo_name" "$repo_url" --username "$username" --password "$password" # succeeds
helm repo list # succeeds
helm search repo my-chart # succeeds
zarf package create # fails
...
failed to create package: unable to add component "example": unable to download the published chart
"example-umbrella": unable to pull the helm chart: looks like
"https://$repo_url/artifactory/main-helm/" is not a valid chart repository or cannot be
reached: failed to fetch https://$repo_url/artifactory/main-helm/index.yaml : 401

❯ grep url zarf.yaml
url: https://charts.zitadel.com/
url: https://$repo_url/artifactory/main-helm/
❯ helm repo list
NAME URL
main-helm https://$repo_url/artifactory/main-helm

Expected result

Package creation succeeds

Actual Result

Package creation fails

Visual Proof (screenshots, videos, text, etc)

https://kubernetes.slack.com/archives/C03B6BJAUJ3/p1742566955114189

Severity/Priority

Low

Additional Context

Removing the trailing / from the URL allowed the package to be created

@brandtkeller brandtkeller added this to Zarf Apr 7, 2025
@github-project-automation github-project-automation bot moved this to Triage in Zarf Apr 7, 2025
@brandtkeller brandtkeller moved this from Triage to Backlog in Zarf Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant