Skip to content

feat: support S3 addressing style across Barman commands - #290

Draft
davidchandra95 wants to merge 1 commit into
cloudnative-pg:mainfrom
davidchandra95:feat/s3-addressing-style
Draft

feat: support S3 addressing style across Barman commands#290
davidchandra95 wants to merge 1 commit into
cloudnative-pg:mainfrom
davidchandra95:feat/s3-addressing-style

Conversation

@davidchandra95

Copy link
Copy Markdown

Summary

Add an ObjectStore-level s3AddressingStyle setting for auto, virtual, or path. The common command builder applies it to every Barman Cloud command and overrides older command-specific addressing arguments.

Root cause

The existing additionalCommandArgs settings only reached base-backup and WAL commands. Catalog, retention, and recovery commands used the shared builder without an addressing option, so S3 services that reject path-style URLs failed after a backup completed.

Validation

  • go test ./...
  • Plugin-focused tests against this library change

Staging use

A separate draft plugin and BBGE deployment change will use this source until an upstream release is available.

Signed-off-by: david <slowtyper@davids-MacBook-Pro-2.local>
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.

1 participant