mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-18 17:32:58 +02:00
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 (#2932)
Bumps [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) from 1.47.7 to 1.47.8. - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.47.7...service/s3/v1.47.8) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/s3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
+4
@@ -1,3 +1,7 @@
|
||||
# v1.2.10 (2024-01-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.2.9 (2023-12-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@
|
||||
package v4a
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.2.9"
|
||||
const goModuleVersion = "1.2.10"
|
||||
|
||||
+4
@@ -1,3 +1,7 @@
|
||||
# v1.2.10 (2024-01-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.2.9 (2023-12-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -3,4 +3,4 @@
|
||||
package checksum
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.2.9"
|
||||
const goModuleVersion = "1.2.10"
|
||||
|
||||
+13
@@ -90,6 +90,19 @@ func AddInputMiddleware(stack *middleware.Stack, options InputMiddlewareOptions)
|
||||
return err
|
||||
}
|
||||
|
||||
// If trailing checksum is not supported no need for finalize handler to be added.
|
||||
if options.EnableTrailingChecksum {
|
||||
trailerMiddleware := &addInputChecksumTrailer{
|
||||
EnableTrailingChecksum: inputChecksum.EnableTrailingChecksum,
|
||||
RequireChecksum: inputChecksum.RequireChecksum,
|
||||
EnableComputePayloadHash: inputChecksum.EnableComputePayloadHash,
|
||||
EnableDecodedContentLengthHeader: inputChecksum.EnableDecodedContentLengthHeader,
|
||||
}
|
||||
if err := stack.Finalize.Insert(trailerMiddleware, "Retry", middleware.After); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Generated
Vendored
+7
-8
@@ -75,6 +75,8 @@ type computeInputPayloadChecksum struct {
|
||||
useTrailer bool
|
||||
}
|
||||
|
||||
type useTrailer struct{}
|
||||
|
||||
// ID provides the middleware's identifier.
|
||||
func (m *computeInputPayloadChecksum) ID() string {
|
||||
return "AWSChecksum:ComputeInputPayloadChecksum"
|
||||
@@ -178,15 +180,9 @@ func (m *computeInputPayloadChecksum) HandleFinalize(
|
||||
// ContentSHA256Header middleware handles the header
|
||||
ctx = v4.SetPayloadHash(ctx, streamingUnsignedPayloadTrailerPayloadHash)
|
||||
}
|
||||
|
||||
m.useTrailer = true
|
||||
mw := &addInputChecksumTrailer{
|
||||
EnableTrailingChecksum: m.EnableTrailingChecksum,
|
||||
RequireChecksum: m.RequireChecksum,
|
||||
EnableComputePayloadHash: m.EnableComputePayloadHash,
|
||||
EnableDecodedContentLengthHeader: m.EnableDecodedContentLengthHeader,
|
||||
}
|
||||
return mw.HandleFinalize(ctx, in, next)
|
||||
ctx = middleware.WithStackValue(ctx, useTrailer{}, true)
|
||||
return next.HandleFinalize(ctx, in)
|
||||
}
|
||||
|
||||
// If trailing checksums are not enabled but protocol is still HTTPS
|
||||
@@ -268,6 +264,9 @@ func (m *addInputChecksumTrailer) HandleFinalize(
|
||||
) (
|
||||
out middleware.FinalizeOutput, metadata middleware.Metadata, err error,
|
||||
) {
|
||||
if enabled, _ := middleware.GetStackValue(ctx, useTrailer{}).(bool); !enabled {
|
||||
return next.HandleFinalize(ctx, in)
|
||||
}
|
||||
req, ok := in.Request.(*smithyhttp.Request)
|
||||
if !ok {
|
||||
return out, metadata, computeInputTrailingChecksumError{
|
||||
|
||||
+4
@@ -1,3 +1,7 @@
|
||||
# v1.16.10 (2024-01-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.16.9 (2023-12-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -3,4 +3,4 @@
|
||||
package s3shared
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.16.9"
|
||||
const goModuleVersion = "1.16.10"
|
||||
|
||||
+4
@@ -1,3 +1,7 @@
|
||||
# v1.47.8 (2024-01-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.47.7 (2023-12-20)
|
||||
|
||||
* No change notes available for this release.
|
||||
|
||||
+6
@@ -777,6 +777,12 @@ func (c presignConverter) convertToPresignMiddleware(stack *middleware.Stack, op
|
||||
if _, ok := stack.Finalize.Get((*acceptencodingcust.DisableGzip)(nil).ID()); ok {
|
||||
stack.Finalize.Remove((*acceptencodingcust.DisableGzip)(nil).ID())
|
||||
}
|
||||
if _, ok := stack.Finalize.Get((*retry.Attempt)(nil).ID()); ok {
|
||||
stack.Finalize.Remove((*retry.Attempt)(nil).ID())
|
||||
}
|
||||
if _, ok := stack.Finalize.Get((*retry.MetricsHeader)(nil).ID()); ok {
|
||||
stack.Finalize.Remove((*retry.MetricsHeader)(nil).ID())
|
||||
}
|
||||
stack.Deserialize.Clear()
|
||||
stack.Build.Remove((*awsmiddleware.ClientRequestID)(nil).ID())
|
||||
stack.Build.Remove("UserAgent")
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@
|
||||
package s3
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.47.7"
|
||||
const goModuleVersion = "1.47.8"
|
||||
|
||||
Reference in New Issue
Block a user