Skip to content

Commit

Permalink
Expose chunkzie variable for S3 storage driver
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsm007 committed Apr 22, 2024
1 parent f39cf2e commit 6125164
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions imageregistry/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ type ImageRegistryConfigStorageS3 struct {
// Optional, defaults based on the Region that is provided.
// +optional
RegionEndpoint string `json:"regionEndpoint,omitempty"`
// The S3 API requires multipart upload chunks to be at least 5MB.
// This value should be a number that is larger than 5 * 1024 * 1024.
// The default is 10 MB.
// +optional
Chunksize int `json:"chunksize,omitempty"`
// encrypt specifies whether the registry stores the image in encrypted
// format or not.
// Optional, defaults to false.
Expand Down

0 comments on commit 6125164

Please sign in to comment.