SPEC-010 — Migrate SQLInstance backups to the Barman Cloud CNPG-I plugin
Type: composition · Status: draft
The in-tree Barman Cloud backup (spec.backup.barmanObjectStore) is deprecated since CloudNativePG 1.26 and removed in operator 1.31.0. The SQLInstance composition renders in-tree barmanObjectStore at two sites — backup (kcl/cloudnativepg/main.k:273-288) and PITR recovery externalClusters (main.k:325-339). The cluster runs operator 1.30.0 today, so backups still work — but any bump past 1.30.x breaks scheduled backups, WAL archiving, and point-in-time recovery.
This spec migrates the composition to the Barman Cloud CNPG-I plugin (ObjectStore CR + Cluster.spec.plugins reference), preserving the IAM-role (EKS Pod Identity, inheritFromIAMRole) credential path and the shared cnpg-backups S3 bucket, to unblock the CNPG operator upgrade.
Spec artifacts: docs/specs/010-cnpg-barman-cloud-plugin/ (spec.md / plan.md / clarifications.md).
Next: /clarify (4 open questions — plugin delivery mechanism, ScheduledBackup plugin API shape, inheritFromIAMRole support, plugin securityContext/CNP) → /validate → implement.
SPEC-010 — Migrate SQLInstance backups to the Barman Cloud CNPG-I plugin
Type: composition · Status: draft
The in-tree Barman Cloud backup (
spec.backup.barmanObjectStore) is deprecated since CloudNativePG 1.26 and removed in operator 1.31.0. TheSQLInstancecomposition renders in-treebarmanObjectStoreat two sites — backup (kcl/cloudnativepg/main.k:273-288) and PITR recoveryexternalClusters(main.k:325-339). The cluster runs operator 1.30.0 today, so backups still work — but any bump past 1.30.x breaks scheduled backups, WAL archiving, and point-in-time recovery.This spec migrates the composition to the Barman Cloud CNPG-I plugin (
ObjectStoreCR +Cluster.spec.pluginsreference), preserving the IAM-role (EKS Pod Identity,inheritFromIAMRole) credential path and the sharedcnpg-backupsS3 bucket, to unblock the CNPG operator upgrade.Spec artifacts:
docs/specs/010-cnpg-barman-cloud-plugin/(spec.md/plan.md/clarifications.md).Next:
/clarify(4 open questions — plugin delivery mechanism,ScheduledBackupplugin API shape,inheritFromIAMRolesupport, plugin securityContext/CNP) →/validate→ implement.