plugin-barman-cloud/internal/cnpgi
Marco Nenciarini bb0d217941
fix: avoid rolling out recovery-only pods just to drop the sidecar
Gating sidecar injection purely on cluster initialization state made
the operator's periodic EVALUATE drift-check disagree with the pod
spec stored at creation time, so it would roll out the primary right
after it finished bootstrapping, solely to strip the now-unneeded
sidecar.

Only stop adding the sidecar on TYPE_CREATE, once the cluster is
initialized; keep injecting it unconditionally on TYPE_EVALUATE so an
already-running pod never drifts against its own stored spec.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2026-07-27 17:47:05 +02:00
..
common feat: serve restore hooks from the instance sidecar 2026-07-27 16:36:09 +02:00
instance feat: serve restore hooks from the instance sidecar 2026-07-27 16:36:09 +02:00
metadata chore(main): release 0.13.0 (#860) 2026-06-10 10:55:17 +02:00
operator fix: avoid rolling out recovery-only pods just to drop the sidecar 2026-07-27 17:47:05 +02:00
restore feat: serve restore hooks from the instance sidecar 2026-07-27 16:36:09 +02:00