Skip to content

Commit

Permalink
Use single part as default (#1893)
Browse files Browse the repository at this point in the history
The data stored in artifact storage are usually small. Using multi-part is not strictly a requirement. 
Change the default to true to better support more platform out of box.
  • Loading branch information
IronPan authored and k8s-ci-robot committed Aug 20, 2019
1 parent 6284dc1 commit 0864faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/apiserver/client_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func initMinioClient(initConnectionTimeout time.Duration) storage.ObjectStoreInt
accessKey := getStringConfig("ObjectStoreConfig.AccessKey")
secretKey := getStringConfig("ObjectStoreConfig.SecretAccessKey")
bucketName := getStringConfig("ObjectStoreConfig.BucketName")
disableMultipart := getBoolConfigWithDefault("ObjectStoreConfig.Multipart.Disable", false)
disableMultipart := getBoolConfigWithDefault("ObjectStoreConfig.Multipart.Disable", true)

minioClient := client.CreateMinioClientOrFatal(minioServiceHost, minioServicePort, accessKey,
secretKey, initConnectionTimeout)
Expand Down

0 comments on commit 0864faf

Please sign in to comment.