plugin-barman-cloud/web
David Almgren 77113f68df feat: expose showAdditionalCommandArgs and listAdditionalCommandArgs
An ObjectStore lets users tack extra command-line flags onto four of
the six barman-cloud-* invocations the plugin shells out to:
barman-cloud-backup (data.additionalCommandArgs), -wal-archive
(wal.archiveAdditionalCommandArgs), -wal-restore
(wal.restoreAdditionalCommandArgs), and -restore (data.restoreAdditionalCommandArgs,
PR #914).

The remaining two -- barman-cloud-backup-show (post-write verification)
and barman-cloud-backup-list (retention pruning) -- had no equivalent,
which is the gap reported in #712. On strictly-vhost S3-compatible
endpoints users need `--addressing-style=virtual` on every cloud
command, and currently those two reject the user-provided args, marking
otherwise-successful backups as failed and silently disabling retention
pruning.

The library-side change adds the two new fields and helpers (sister PR
in cloudnative-pg/barman-cloud) and threads them through GetBackupList /
GetBackupByName. This plugin commit just exposes them via the CRD and
documents the new shape.

## Sister PR (must merge first)

The CRD field schema is generated from the BarmanObjectStoreConfiguration
Go type in cloudnative-pg/barman-cloud. The sister PR there adds:

- DataBackupConfiguration.ShowAdditionalCommandArgs []string
- DataBackupConfiguration.ListAdditionalCommandArgs []string
- AppendShowAdditionalCommandArgs / AppendListAdditionalCommandArgs helpers

Once that PR merges and a barman-cloud release is cut, controller-gen
here picks up the new fields automatically. Until then a developer
running \`go test ./...\` against this branch needs a local replace
directive in go.mod pointing at the barman-cloud branch (omitted from
this commit).

Closes #712

Signed-off-by: David Almgren <dalmgren@coreweave.com>
2026-05-26 12:19:13 +02:00
..
docs feat: expose showAdditionalCommandArgs and listAdditionalCommandArgs 2026-05-26 12:19:13 +02:00
src docs: autoselect version (#344) 2025-05-15 13:36:57 +02:00
static docs: publish docs with docusaurus (#268) 2025-04-30 12:17:57 +02:00
versioned_docs fix(docs): update broken link to CloudNativePG documentation (#904) 2026-05-12 10:46:04 +02:00
versioned_sidebars docs(release): documentation for release 0.12.0 (#848) 2026-04-13 17:48:48 +02:00
.gitignore chore: use yarn lockfile instead of npm one (#314) 2025-05-06 12:08:25 +02:00
docusaurus.config.ts docs: publish docs with docusaurus (#268) 2025-04-30 12:17:57 +02:00
package.json fix(deps): update documentation dependencies to v3.10.1 (#878) 2026-05-06 08:26:23 +02:00
README.md docs: add backup, WAL archive and recovery information (#291) 2025-05-06 11:49:09 +02:00
sidebars.ts docs: publish docs with docusaurus (#268) 2025-04-30 12:17:57 +02:00
tsconfig.json docs: autoselect version (#344) 2025-05-15 13:36:57 +02:00
versions.json docs(release): documentation for release 0.12.0 (#848) 2026-04-13 17:48:48 +02:00
yarn.lock chore(deps): lock file maintenance (#922) 2026-05-25 10:52:58 +02:00

Website

This website is built using Docusaurus, a modern static website generator.

Requirements

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Test the build

$ yarn serve

By default, this will load your site at http://localhost:3000/.

Spellchecking

From the top directory:

task spellcheck

Versioning

Docusaurus allows versioning of the documentation to maintain separate sets of documentation for different software versions.

To create a new documentation version:

$ yarn docusaurus docs:version X.Y.Z