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

Errors when repo bucket is not in the profile's default region #51

Closed
coderanger opened this issue Jul 24, 2018 · 5 comments
Closed

Errors when repo bucket is not in the profile's default region #51

coderanger opened this issue Jul 24, 2018 · 5 comments
Milestone

Comments

@coderanger
Copy link

It would be nice to process the redirect to the correct region (or allow configuring it per repo) rather than having to swap the profile's region around.

@bryankaraffa
Copy link

+1 on this. It would be nice to have a --repo-region flag or similar.

If the helm chart bucket is in a different region than what's set in your ENV or AWS CLI Profile, helm-s3 can fail to find the bucket. To workaround this currently, we need to pass the correct AWS_REGION explicitly during a helm install or helm upgrade

AWS_REGION=us-east-1 helm upgrade my-release custom-service --repo s3://my-example-helm-charts-production

Instead we would like to do something like this to instruct helm-s3 to look in us-east-1 for the bucket:

helm upgrade my-release custom-service --repo s3://my-example-helm-charts-production --repo-region us-east-1

@ndegory
Copy link
Contributor

ndegory commented May 15, 2020

that's a major issue for me, I have scripts where I have to export the region based on where my Helm repo buckets are located, and this has side effects (think other plugins requiring this variable, with a different region). Since we can programmatically get the location of the bucket, shouldn't we let the s3 plugin do that instead of explicitly setting the region before we call the Helm CLI?

@ndegory
Copy link
Contributor

ndegory commented Jun 6, 2020

I was looking at a way to make it transparent for the user, unfortunately the API only allows the owner of the bucket to get its location. So the user still has to pass the information to Helm.

@hypnoglow
Copy link
Owner

Merged #117 , will be available in the next plugin release.

@hypnoglow hypnoglow added this to the 0.10.0 milestone Oct 24, 2020
@hypnoglow
Copy link
Owner

The plugin version 0.10.0 is released.

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

No branches or pull requests

4 participants