We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d68b5d + ef9dbd1 commit 0720925Copy full SHA for 0720925
pkg/minio/minio.go
@@ -38,9 +38,11 @@ type MinioClient struct {
38
// NewClient creates a new Minio storage client.
39
func NewClient(bucket *sourcev1.Bucket, secret *corev1.Secret) (*MinioClient, error) {
40
opt := minio.Options{
41
- Region: bucket.Spec.Region,
42
- Secure: !bucket.Spec.Insecure,
43
- BucketLookup: minio.BucketLookupPath,
+ Region: bucket.Spec.Region,
+ Secure: !bucket.Spec.Insecure,
+ // About BucketLookup, it should be noted that not all S3 providers support
44
+ // path-type access (e.g., Ali OSS). Hence, we revert to using the default
45
+ // auto access, which we believe can cover most use cases.
46
}
47
48
if secret != nil {
0 commit comments