Skip to content

Fix Helm chart OCI paths - #545

Open
atanasdinov wants to merge 1 commit into
SUSE:mainfrom
atanasdinov:helm-chart-concat
Open

Fix Helm chart OCI paths#545
atanasdinov wants to merge 1 commit into
SUSE:mainfrom
atanasdinov:helm-chart-concat

Conversation

@atanasdinov

@atanasdinov atanasdinov commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Closes #492

Signed-off-by: Atanas Dinov <atanas.dinov@suse.com>
@atanasdinov
atanasdinov marked this pull request as ready for review July 28, 2026 10:08
@atanasdinov
atanasdinov requested a review from a team as a code owner July 28, 2026 10:08
Comment thread pkg/helm/helm.go
// Use the full path for the chart identifier and drop the "repository" value.
// The latter is only valid for HTTP(s) repositories.
chart = fmt.Sprintf("%s/%s", repository, name)
chart, _ = url.JoinPath(repository, name)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this isn't silencing URL typos or similar errors. Isn't chart set to empty string on errors?

At this stage it is not clear to me if input values have been already sanitized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Concat Helm chart + Helm repo should verify no double slashes

3 participants