Allow use of non-dualstack endpoints for S3 blocks storage #6516
Labels
backend/s3
difficulty/easy
good first issue
These are great first issues. If you are looking for a place to start, start here!
help wanted
Describe the bug
Cannot configure the S3 blocks storage endpoint to point to a non-dualstack endpoint. In our config we have the
blocks_storage.s3.endpoint
set tos3.us-east-1.amazonaws.com
. However, we observe the Cortex pods only reaching out to<bucket name>.s3.dualstack.us-east-1.amazonaws.com
.To Reproduce
Steps to reproduce the behavior:
blocks_storage.s3.endpoint
to a non-dualstack endpoint such ass3.us-east-1.amazonaws.com
<bucket name>.s3.dualstack.us-east-1.amazonaws.com
Expected behavior
We would expect Cortex to support hitting this non-dualstack endpoint. If we configure the endpoint as
s3.us-east-1.amazonaws.com
, Cortex should hit<bucket name>.s3.us-east-1.amazonaws.com
.Environment:
Additional Context
Minio does support this configuration (minio/minio-go#1945) as of v7.0.69 which is available in Cortex 1.17.1 and up. The value defaults to true for backwards compatibility. This function should allow the configuration of this option.
The text was updated successfully, but these errors were encountered: