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

Fix AWS Region and Endpoint precendence #212

Merged
merged 18 commits into from
Jun 12, 2024
Merged

Conversation

jfantinhardesty
Copy link
Contributor

What type of Pull Request is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Describe your changes in brief

Currently, using the AWS_REGION environment variable was not supported and would not work correctly. This refactors the endpoint resolution and allows the AWS_REGION flag to be used. Additionally, this adds endpoint, region, and bucket-name to be passed in as command line parameters.

Checklist

  • Tested locally
  • Added new dependencies
  • Updated documentation
  • Added tests

Related Issues

  • Related Issue #
  • Closes #

@jfantinhardesty jfantinhardesty marked this pull request as ready for review May 21, 2024 15:49
component/s3storage/client.go Outdated Show resolved Hide resolved
doc/cloudfuse_mount_list.md Outdated Show resolved Hide resolved
component/s3storage/client.go Outdated Show resolved Hide resolved
@jfantinhardesty jfantinhardesty marked this pull request as draft June 5, 2024 22:20
@jfantinhardesty jfantinhardesty changed the title Add s3 command line args Fix AWS Region and Endpoint precendence Jun 10, 2024
@jfantinhardesty jfantinhardesty marked this pull request as ready for review June 10, 2024 16:08
Copy link
Contributor

@foodprocessor foodprocessor left a comment

Choose a reason for hiding this comment

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

I've just reviewed baseConfig.yaml & client.go for now.
More to come!

setup/baseConfig.yaml Outdated Show resolved Hide resolved
component/s3storage/client.go Outdated Show resolved Hide resolved
component/s3storage/client.go Show resolved Hide resolved
@foodprocessor
Copy link
Contributor

I've just reviewed baseConfig.yaml & client.go for now. More to come!

Just kidding, the rest looks good!

Copy link
Contributor

@foodprocessor foodprocessor left a comment

Choose a reason for hiding this comment

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

Thank you!

@jfantinhardesty jfantinhardesty merged commit a25093f into main Jun 12, 2024
17 checks passed
@jfantinhardesty jfantinhardesty deleted the add-s3-command-line-args branch June 12, 2024 14:13
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.

3 participants