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

Add FORCE_PATH_STYLE into the defaults of S3NioSpiConfiguration in order to allow it to be modified via environment variables #469

Merged

Conversation

oeph
Copy link
Contributor

@oeph oeph commented May 27, 2024

Due to the "auto-create" of the file systems, we experience cases, where we cannot set the FORCE_PATH_STYLE method to true.

Description of changes:
By adding the s3.spi.force-path-style option to the defaults, it will get picked up by the default handling and can be modified via environment variables. The default is set to false.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@oeph
Copy link
Contributor Author

oeph commented May 27, 2024

@markjschreiber just a small change, that would help us immensely

Copy link
Contributor

@markjschreiber markjschreiber left a comment

Choose a reason for hiding this comment

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

Looks good however you will need to make some changes in the unit tests that are failing.

…order to allow it to be modified via environment variables
@oeph oeph force-pushed the feature/add_path_style_access_into_defaults branch from 402fa0c to 1cab067 Compare May 28, 2024 13:00
Copy link
Contributor

@markjschreiber markjschreiber left a comment

Choose a reason for hiding this comment

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

LGTM!

@markjschreiber markjschreiber merged commit cec9557 into awslabs:main May 28, 2024
1 check passed
@oeph oeph deleted the feature/add_path_style_access_into_defaults branch May 28, 2024 17:51
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.

None yet

2 participants