distribution/registry/storage/driver
Benjamin Schanzel 8654a0ee45
Allow setting s3 forcepathstyle without regionendpoint
Currently, the `forcepathstyle` parameter for the s3 storage driver is
considered only if the `regionendpoint` parameter is set. Since setting
a region endpoint explicitly is discouraged with AWS s3, it is not clear
how to enforce path style URLs with AWS s3.
This also means, that the default value (true) only applies if a region
endpoint is configured.

This change makes sure we always forward the `forcepathstyle` parameter
to the aws-sdk if present in the config. This is a breaking change where
a `regionendpoint` is configured but no explicit `forcepathstyle` value
is set.

Signed-off-by: Benjamin Schanzel <benjamin.schanzel@bmw.de>
2024-04-08 12:45:26 +02:00
..
azure refactor: apply suggestions from code review 2023-12-13 09:22:48 +00:00
base storage/driver: replace URLFor method 2023-10-27 10:58:37 -04:00
factory storage/driver: plumb contexts into factories 2023-10-27 17:48:57 -04:00
filesystem refactor: apply suggestions from code review 2023-12-13 09:22:48 +00:00
gcs fix: load gcs credentials and client inside DriverConstructor 2023-12-27 11:22:27 +01:00
inmemory refactor: apply suggestions from code review 2023-12-13 09:22:48 +00:00
middleware refactor: apply suggestions from code review 2023-12-13 09:22:48 +00:00
s3-aws Allow setting s3 forcepathstyle without regionendpoint 2024-04-08 12:45:26 +02:00
testsuites refactor: apply suggestions from code review 2023-12-13 09:22:48 +00:00
errors_test.go feat: add tparallel linter to improve handling parallel tests 2023-11-29 21:40:20 +00:00
fileinfo.go format code with gofumpt 2022-11-03 22:48:20 +01:00
storagedriver.go fix: update S3 storage driver writer 2023-12-13 09:22:48 +00:00
walk.go Pass the last paging flag to storage drivers 2023-08-29 11:27:42 +01:00
walk_test.go Pass the last paging flag to storage drivers 2023-08-29 11:27:42 +01:00