plugin-barman-cloud/internal/cnpgi
Marco Nenciarini 0475daa589
fix: read owner GVK from object metadata instead of scheme
The operator does not know the CNPG API group at runtime (it is
not a sidecar injected by the CNPG operator, so CUSTOM_CNPG_GROUP
and CUSTOM_CNPG_VERSION are not available). Move SetControllerReference
to the specs package and read the GVK from the decoded Cluster's
TypeMeta rather than looking it up in the scheme.

Remove CNPG types from the operator's scheme and the env var bindings
from cmd/operator since they are no longer needed.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2026-04-10 11:23:35 +02:00
..
common fix: disable management of end-of-wal file flag during backup restoration (#604) 2025-10-17 19:16:54 +02:00
instance fix(rbac): reconcile Role when ObjectStore spec changes 2026-04-10 10:03:00 +02:00
metadata fix: discover affected Roles by label instead of listing Clusters 2026-04-10 10:03:00 +02:00
operator fix: read owner GVK from object metadata instead of scheme 2026-04-10 11:23:35 +02:00
restore fix(rbac): reconcile Role when ObjectStore spec changes 2026-04-10 10:03:00 +02:00