objstore
objstore copied to clipboard
s3: add DisableDualstack to config
- [x] I added CHANGELOG entry for this change.
- [ ] Change is not relevant to the end user.
Changes
Relates to https://github.com/grafana/mimir/issues/7382.
Due to internal policies, enterprises deploy VPC Interface Endpoints with Private DNS option, which overrides s3.region.amazonaws.com, pointing it to the local endpoint. Because S3 VPC Endpoints do not support dualstack, this adds extra requirements to the infrastructure (refer to https://github.com/minio/minio-go/issues/1766#issuecomment-1943297606 for details).
This PR adds a new configuration to s3 client, allowing to disable the client from using AWS S3 dual-stack endpoints.
@matej-g could you have a glance over the latest changes. Is there anything I can do to help with landing them to mainline?