plugin-barman-cloud/internal/cnpgi/operator
Armando Ruocco 8b48609a82 fix: honor replica-source object store sidecar config for pg_basebackup replicas
The sidecar injected into pg_basebackup replica clusters ignored the
instanceSidecarConfiguration (resources, logLevel, additionalContainerArgs) of
the replica-source ObjectStore: collectSidecarResourcesForPod and
collectAdditionalInstanceArgs only handled the cluster and recovery object
stores. Log-shipping replicas masked this because their recovery and replica
source object stores coincide; pg_basebackup replicas only set
ReplicaSourceBarmanObjectName, so the configuration was silently dropped (the
sidecar ran with no additional args and the default log level).

Handle ReplicaSourceBarmanObjectName in both helpers, documenting the store
precedence (Barman > Recovery > ReplicaSource), and fix the misleading comment
on the recovery branch.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
2026-06-19 09:33:04 +02:00
..
config fix: inject barman sidecar in replica clusters bootstrapped with pg_basebackup 2026-06-19 09:33:04 +02:00
rbac fix(deps): update module sigs.k8s.io/controller-runtime to v0.24.0 (#880) 2026-05-06 10:15:29 +02:00
specs chore(deps): update golangci/golangci-lint docker tag to v2.12.0 (#881) 2026-05-04 16:01:21 +02:00
doc.go feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
identity.go fix(metrics): announce sidecar injection capability (#776) 2026-03-31 15:36:09 +02:00
lifecycle_certificates.go feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
lifecycle_envs.go feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
lifecycle_resources.go fix: honor replica-source object store sidecar config for pg_basebackup replicas 2026-06-19 09:33:04 +02:00
lifecycle_test.go fix: honor replica-source object store sidecar config for pg_basebackup replicas 2026-06-19 09:33:04 +02:00
lifecycle.go fix: honor replica-source object store sidecar config for pg_basebackup replicas 2026-06-19 09:33:04 +02:00
manager.go fix(deps): update module sigs.k8s.io/controller-runtime to v0.24.0 (#880) 2026-05-06 10:15:29 +02:00
reconciler.go feat: configure k8s recommended labels on subresources (#865) 2026-04-29 14:35:43 +02:00
start.go feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
suite_test.go feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00