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

helm s3 push fails with an error #221

Closed
vishnups1 opened this issue Sep 24, 2022 · 4 comments
Closed

helm s3 push fails with an error #221

vishnups1 opened this issue Sep 24, 2022 · 4 comments
Labels

Comments

@vishnups1
Copy link

vishnups1 commented Sep 24, 2022

⚡️helm s3 push ./halo-demo-chart-0.1.0.tgz test
Error: load repo file: Couldn't load repositories file (/Users/v01/.helm/repository/repositories.yaml).
You might need to run helm init (or helm init --client-only if tiller is already installed)
Error: plugin "s3" exited with error

when I try to push the package to the s3 bucket using the plugin it fails the above error. I don't see any issues with the aws cli. It is working as expected.

Also, it prints a message to run helm init command, which is not available under helm3.

Package versions:

⚡️helm version --short
v3.9.4+gdbc6d8e

⚡️helm plugin list

NAME	VERSION	DESCRIPTION
s3  	0.14.0 	Provides AWS S3 protocol support for charts and repos. https://github.com/hypnoglow/helm-s3
@AnakinPt
Copy link

I have the exact same error.
$ helm version --short
v3.10.1+g9f88ccb

$ helm plugin list
NAME VERSION DESCRIPTION
s3 0.14.0 Provides AWS S3 protocol support for charts and repos. https://github.com/hypnoglow/helm-s3

@aispringli
Copy link

when i use it on gitlab ci, the probelm must show

@aispringli
Copy link

i find a reason, i find helm init in helm2 doc, so i guess whether is the version reason, final export HELM_S3_MODE=3, now it work well. the probelm is so beyond logic and above reason. hope whe auther can solve it.

@hypnoglow
Copy link
Owner

hypnoglow commented Nov 2, 2023

As mentioned, you can use HELM_S3_MODE to force Helm v3 in case of problems, see: https://github.com/hypnoglow/helm-s3#helm-version-mode

Also, a bug was fixed recently that might caused the problem.

I'm going to close this, please open a new issue if the problem persists after the v0.16.0 release.

@hypnoglow hypnoglow closed this as not planned Won't fix, can't repro, duplicate, stale Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants