Skip to content
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

feat: Adding Basic Auth to access Helm repo #77

Merged
merged 1 commit into from
Feb 5, 2022

Conversation

dirien
Copy link
Contributor

@dirien dirien commented Jan 31, 2022

fixes: #41

This PR introduce the basic auth of private helm registries via the helm sdk. Now, you dont need to transform the index.yaml anymore. The helm sdk takes care to return the latest version.

go.mod Outdated Show resolved Hide resolved
registries/helm_index.go Outdated Show resolved Hide resolved
registries/helm_index.go Outdated Show resolved Hide resolved
@sstarcher
Copy link
Owner

This will also be a breaking change for people due to the URL format changing. Would it make sense for us to strip off index.yaml if the user specifies it to be backward compatible?

@dirien
Copy link
Contributor Author

dirien commented Feb 3, 2022

This will also be a breaking change for people due to the URL format changing. Would it make sense for us to strip off index.yaml if the user specifies it to be backward compatible?

Done, added a trimSuffix to remove the /index.yaml part.

Looking forward for your feedback.

@dirien dirien requested a review from sstarcher February 3, 2022 19:56
@dirien dirien force-pushed the auth branch 2 times, most recently from 369b253 to 714095f Compare February 5, 2022 09:57
@sstarcher
Copy link
Owner

Can you resolve the conflict

@dirien
Copy link
Contributor Author

dirien commented Feb 5, 2022

@sstarcher done :)

@sstarcher sstarcher merged commit 65ecf48 into sstarcher:master Feb 5, 2022
@dirien dirien deleted the auth branch February 5, 2022 22:21
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.

Adding Basic Auth to access Helm repo
2 participants