Skip to content

Commit b349985

Browse files
committed
Remove ChunkSizeMib featuregate
1 parent b06a3d8 commit b349985

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/storage/s3/s3.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -414,11 +414,6 @@ func (d *driver) ConfigEnv() (envs envvar.List, err error) {
414414
envs = append(envs, envvar.EnvVar{Name: "REGISTRY_STORAGE_S3_KEYID", Value: d.Config.KeyID})
415415
}
416416

417-
if d.Config.ChunkSizeMiB > 4 && d.Config.ChunkSizeMiB < 5121 {
418-
chunksize := int64(d.Config.ChunkSizeMiB) * 1024 * 1024
419-
envs = append(envs, envvar.EnvVar{Name: "REGISTRY_STORAGE_S3_CHUNKSIZE", Value: chunksize})
420-
}
421-
422417
// virtualHostedStyle tells the registry to use urls in the form of
423418
// bucket-name.s3-endpoint.etc.
424419
// the forcePathStyle setting was introduced to control the same

0 commit comments

Comments
 (0)