Skip to content

Conversation

@akloss-cibo
Copy link
Contributor

This checksum is required if a bucket has Object Lock enabled by default.

addresses argoproj/argo-workflows#11182

@akloss-cibo akloss-cibo force-pushed the add-content-md5-header branch from d002fe1 to d2ac3e6 Compare January 21, 2025 16:20
s3/s3.go Outdated
RoleSessionName string
UseSDKCreds bool
EncryptOpts EncryptOpts
EnableMD5 bool
Copy link
Member

@tczhao tczhao Jan 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the api description in minio is

Specify if you’d like to send content-md5 header with PutObject operation. Note that setting this flag will cause higher memory usage because of in-memory md5sum calculation.

I probably keep this variable as SendContentMd5, it describe what the variable is doing more accurately.

Other variables in S3ClientOpts struct uses the same name if they also present in MinIO

This checksum is required if a bucket has Object Lock enabled by
default.

addresses argoproj/argo-workflows#11182

Signed-off-by: Alec Kloss <[email protected]>
@akloss-cibo akloss-cibo force-pushed the add-content-md5-header branch from d2ac3e6 to a422af0 Compare January 23, 2025 03:26
@akloss-cibo akloss-cibo requested a review from tczhao January 23, 2025 03:26
@sonarqubecloud
Copy link

@tczhao tczhao enabled auto-merge (squash) January 23, 2025 03:33
@tczhao tczhao merged commit 65f2d47 into argoproj:master Jan 23, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants