-
Notifications
You must be signed in to change notification settings - Fork 48
snaprepoapi: Add PathStyleAccess field to S3Config #426
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
snaprepoapi: Add PathStyleAccess field to S3Config #426
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for opening the PR
LGTM 👍
I can probably put this into a quick v1.12.1 release.
To merge you need to sign your commits (https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) |
Add the missing `PathStyleAccess` field to the struct `S3Config` which is used for configuring S3 snapshot repositories. Also updates the outdated link to the Elasticsearch official documentation.
bef0b4d
to
04a9ffc
Compare
This is fixed now. |
Btw. regarding the lint issues: It is indeed due to the old versions used. It still works when using an older go version (1.16 for example). We will have to update the go version and libraries to more recent ones. |
Add the missing `PathStyleAccess` field to the struct `S3Config` which is used for configuring S3 snapshot repositories. Also updates the outdated link to the Elasticsearch official documentation. (cherry picked from commit 0254b2d)
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
Add the missing `PathStyleAccess` field to the struct `S3Config` which is used for configuring S3 snapshot repositories. Also updates the outdated link to the Elasticsearch official documentation. (cherry picked from commit 0254b2d) Co-authored-by: Pascal Hofmann <mail@pascalhofmann.de>
Description
Add the missing
PathStyleAccess
field to the structS3Config
which is used for configuring S3 snapshot repositories.See also https://www.elastic.co/guide/en/elasticsearch/reference/current/repository-s3.html#repository-s3-client
Also updates the outdated link to the Elasticsearch official documentation.
Related Issues
#425
Motivation and Context
This allows creating S3 snapshot repositories that talk to S3 backends which require path style access.
How Has This Been Tested?
Ran unit tests and tested against the ECE API.
Types of Changes
Readiness Checklist
Note: I have issues with make format and make lint. I think this happens because bin/golangci-lint is very old.