File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ Uncomment
4949WAL
5050WALBackupConfiguration
5151WALs
52+ amz
5253api
5354apiVersion
5455apiextensions
@@ -59,6 +60,7 @@ backend
5960backends
6061barmanObjectName
6162barmancloud
63+ boto
6264bzip
6365cd
6466cloudnative
@@ -113,6 +115,7 @@ secretKeyRef
113115selfsigned
114116serverName
115117serviceaccount
118+ sha
116119sig
117120storageClass
118121subcommand
Original file line number Diff line number Diff line change @@ -141,6 +141,34 @@ spec:
141141 [...]
142142```
143143
144+ Recent changes to the [ boto3 implementation] ( https://github.com/boto/boto3/issues/4392 )
145+ of [ Amazon S3 Data Integrity Protections] ( https://docs.aws.amazon.com/sdkref/latest/guide/feature-dataintegrity.html )
146+ may lead to the ` x-amz-content-sha256 ` error when using the Barman Cloud
147+ Plugin.
148+
149+ If you encounter this issue (see [ GitHub issue #393 ] ( https://github.com/cloudnative-pg/plugin-barman-cloud/issues/393 ) ),
150+ you can apply the following workaround by setting specific environment
151+ variables in the ` ObjectStore ` resource:
152+
153+ ``` yaml
154+ apiVersion : barmancloud.cnpg.io/v1
155+ kind : ObjectStore
156+ metadata :
157+ name : linode-store
158+ spec :
159+ instanceSidecarConfiguration :
160+ env :
161+ - name : AWS_REQUEST_CHECKSUM_CALCULATION
162+ value : when_required
163+ - name : AWS_RESPONSE_CHECKSUM_VALIDATION
164+ value : when_required
165+ [...]
166+ ```
167+
168+ These settings ensure that checksum calculations and validations are only
169+ applied when explicitly required, avoiding compatibility issues with certain
170+ S3-compatible storage providers.
171+
144172Example with DigitalOcean Spaces (SFO3, path-style):
145173
146174``` yaml
You can’t perform that action at this time.
0 commit comments