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: retrieve repository's username/password from environment #415

Merged

Conversation

kevinleturc
Copy link
Contributor

Make possible to retrieve username/password from the environment for Helm repositories, like it is done for OCI registries.

Related to roboll/helmfile#1629

@yxxhero
Copy link
Member

yxxhero commented Oct 6, 2022

@kevinleturc Please fix the ci error. And add some tests for your PR. Thanks very much.

@kevinleturc kevinleturc force-pushed the feature-resolve-helm-auth-from-env branch from 224cc21 to 9f3362f Compare October 6, 2022 14:05
@kevinleturc
Copy link
Contributor Author

@yxxhero, this is my first time with go, I should have fixed the CI errors and added some tests for the feature.

Tell me if it's still missing something. Thanks.

@yxxhero
Copy link
Member

yxxhero commented Oct 6, 2022

@kevinleturc please fix lint error.

@kevinleturc kevinleturc force-pushed the feature-resolve-helm-auth-from-env branch from 9f3362f to 1259168 Compare October 6, 2022 14:13
@kevinleturc
Copy link
Contributor Author

Sorry for the lint, I've just fixed it with make fmt, should be enough right?

@yxxhero
Copy link
Member

yxxhero commented Oct 6, 2022

@kevinleturc yes. It's enough. Thanks for your work on this feature.

@kevinleturc
Copy link
Contributor Author

If I understand correctly TestHelmfileTemplateWithBuildCommand/oci_chart_pull is failing, I'm having a look.

Signed-off-by: Kevin Leturc <kevinleturc@users.noreply.github.com>
@kevinleturc kevinleturc force-pushed the feature-resolve-helm-auth-from-env branch from 1259168 to 422852d Compare October 6, 2022 14:48
@kevinleturc
Copy link
Contributor Author

@yxxhero we should be good now, I fixed TestHelmfileTemplateWithBuildCommand/oci_chart_pull.

Thanks for your time!

@yxxhero
Copy link
Member

yxxhero commented Oct 6, 2022

@kevinleturc good work. keep going on.

Copy link
Member

@yxxhero yxxhero left a comment

Choose a reason for hiding this comment

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

LGTM

@yxxhero
Copy link
Member

yxxhero commented Oct 6, 2022

@mumoshu

@yxxhero yxxhero merged commit a8101e4 into helmfile:main Oct 6, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 8, 2022
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.

None yet

2 participants