FeatureRecipe
backup-cloudnative-pg
Component-scope FeatureRecipe for core/backup on a PostgreSQL database realized by helm/postgres-cloudnative-pg, through the Barman Cloud plugin core/storage/barman-cloud-plugin installs: writes the plugin's ObjectStore and a CloudNativePG ScheduledBackup beside the database's Cluster, which names the plugin as its write-ahead-log archiver. The backups run only where the plugin is deployed; nothing in the build checks it. The Cluster archives its write-ahead log into the bucket the store connection points at, continuously, and the schedule takes a base backup there on infra.schedule, or daily at 03:00 where that is unset. Backups and log older than infra.retention_days days are deleted, except the newest base backup taken before that window, which a restore into it needs. That archive is CloudNativePG's point-in-time recovery, on here, so infra.point_in_time_recovery: false halts by name. The plugin signs its requests with the key pair in the Secret infra.credentials_secret names or, unset, in one named after the ObjectStore, which the cluster must hold in the database's namespace. The build halts, naming the attachment, on a database realized by another Recipe, with no store connection, with a store publishing no S3 API, with a store in the cluster whose namespace is not declared, on a database carrying a second core/backup attachment, on infra.role_arn, the role AWS Backup assumes, which the plugin has no use for, on infra.volume, since the plugin keeps backups only in a bucket, and on infra.run_as_user and infra.run_as_group, since it runs inside the database's own pods.
Provenance
- Content digest
- sha256:c5a27caa9f8af1d569c67fbb345de49574f9acd4bd4759afc7f11c1097b57dfc
- Published
- 2026-11-10T10:15:10Z
- Signing identity
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officialapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:82bc4114697c42060654baf98aa886513d47578af4eed1f41d486855839e2643
Reference at this version
oci://hub.aggrega.ai/featurerecipe/helm/backup-cloudnative-pg:1.0.0- Target
- —
- Implements
- core/backup:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
| Name | Template |
|---|---|
| object_store | {{ .locals.name }} |
Workload
No workload template declared.
Locals
| Name | Template |
|---|---|
| name | {{ .context.instance_id }}-{{ .attachment_name | replace "_" "-" }} |
Values mapping
No values mapping declared.
Relationships
Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.
Uses
- implementsimplements
core/backup:1.0.0
Used by
Nothing in the catalog depends on this entity.