Use S3 Workhorse client with consolidated object store settings
In GitLab 13.1.0, we added an S3 client to Workhorse (https://gitlab.com/gitlab-org/gitlab-workhorse/-/merge_requests/466). Previously this client would only be enabled if AWS instance profiles (use_iam_profile) were used. We extend this functionality if the consolidated object storage settings are enabled for AWS. This will fix ETag Mismatch errors with non-AWS S3 providers and pave the way for supporting encrypted S3 buckets with customer-provided keys. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/220288
显示
- app/uploaders/object_storage.rb 5 个添加, 1 个删除app/uploaders/object_storage.rb
- changelogs/unreleased/sh-enable-workhorse-s3-client-consolidated.yml 5 个添加, 0 个删除...unreleased/sh-enable-workhorse-s3-client-consolidated.yml
- config/gitlab.yml.example 0 个添加, 1 个删除config/gitlab.yml.example
- config/object_store_settings.rb 4 个添加, 2 个删除config/object_store_settings.rb
- lib/object_storage/direct_upload.rb 9 个添加, 6 个删除lib/object_storage/direct_upload.rb
- spec/lib/object_storage/direct_upload_spec.rb 10 个添加, 1 个删除spec/lib/object_storage/direct_upload_spec.rb
加载中
想要评论请 注册 或 登录