plugin-barman-cloud/internal/cnpgi
Armando Ruocco a19f89b57f
fix(restore): bind custom CNPG group and version env vars
The restore command was missing the CUSTOM_CNPG_GROUP and
CUSTOM_CNPG_VERSION environment variable bindings that other
commands (e.g. instance) already had.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>

refactor(restore): use shared scheme generation for custom CNPG groups

Extract generateScheme() from the instance package into
common.GenerateScheme() and use it from both instance and
restore managers. The restore manager previously used a
hardcoded init() that ignored CUSTOM_CNPG_GROUP and
CUSTOM_CNPG_VERSION, causing restore jobs to fail when
running under a non-standard CNPG API group.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2026-04-13 11:31:13 +02:00
..
common fix(restore): bind custom CNPG group and version env vars 2026-04-13 11:31:13 +02:00
instance fix(restore): bind custom CNPG group and version env vars 2026-04-13 11:31:13 +02:00
metadata chore(main): release 0.11.0 (#717) 2026-01-30 16:32:12 +01:00
operator fix(metrics): announce sidecar injection capability (#776) 2026-03-31 15:36:09 +02:00
restore fix(restore): bind custom CNPG group and version env vars 2026-04-13 11:31:13 +02:00