Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

helm: if present, use repository alias to pull a chart #193

Merged
merged 3 commits into from
Jan 9, 2020

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Jan 9, 2020

Fixes #186

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

This is a workaround for some problems that exist in Helm while
attempting to fetch a chart with an absolute URL, while it also
makes things a bit more efficient.

The problem is that the authentication credentials for an URL are
looked up by Helm based on the URLs of the index file that is
present for the repository. This itself is not a problem as long
as the chart repository is configured to list absolute URLs in
their index, some repositories however are configured to list
relative URLs, which will make the credential lookup fail.
This is a follow up on #171 and makes the credential lookup
built-in to Helm's `ChartDownloader` work, instead of providing
(fallback) options.
@hiddeco hiddeco merged commit 1509461 into master Jan 9, 2020
@hiddeco hiddeco deleted the helm/repository-auth branch January 9, 2020 21:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

helm3 with private repository 401 error - not finding the mounted repository.yml
2 participants