The current configuration derives the sidecar image from configuration paramter `sidecar-image`: 1e13020fe5/internal/cnpgi/operator/lifecycle.go (L418)
However, this is challenging for multi-tenant Kubernetes clusters, as the plugin deployment defines the target sidecar image for all CNPG clusters within a given Kubernetes cluster.
In this PR, we add an optional `sidecarImage` field to `ObjectStore.spec.instanceSidecarConfiguration`.
This allows workloads using a specific ObjectStore to override the Barman Cloud sidecar image configured globally on the plugin deployment.
Signed-off-by: Chandon Pierre <cpierre@coreweave.com>
The Barman Cloud CNPG-I plugin is a component of the
CloudNativePG project and adheres to the
same community-driven governance model under the
CNCF.
CloudNativePG was originally built and sponsored by EDB.
Postgres, PostgreSQL, and the Slonik Logo
are trademarks or registered trademarks of the PostgreSQL Community Association
of Canada, and used with their permission.