mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-09-06 15:02:21 +02:00
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> |
||
|---|---|---|
| .. | ||
| common | ||
| instance | ||
| metadata | ||
| operator | ||
| restore | ||