FeatureRecipe
backup-mariadb-operator
Component-scope FeatureRecipe for core/backup on a MariaDB database realized by helm/mariadb-cluster: writes a mariadb-operator Backup beside the database's MariaDB, which the mariadb-operator controller runs as a CronJob. The backups run only where that controller is deployed; nothing in the build checks it. Each backup is a logical dump of every database on the server, taken with mariadb-dump on infra.schedule, or daily at 03:00 where that is unset, in the time zone of the cluster's CronJob controller; each backup run deletes the backups older than infra.retention_days days. It is written to the bucket the store connection points at, signing with the key pair in the Secret infra.credentials_secret names or, unset, in one named after the Backup, which the cluster must hold in the database's namespace; or, with infra.volume set instead, to a ReadWriteOnce claim of that size which the controller provisions beside the database. Point-in-time recovery is off: a restore returns to a dump's moment, and infra.point_in_time_recovery: true halts. The build halts, naming the attachment, on a database realized by another Recipe, with neither a store connection nor infra.volume, 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 a Backup name longer than a CronJob's name may be, on a volume size that is not a Kubernetes quantity, on infra.credentials_secret beside a volume, on infra.role_arn, the role AWS Backup assumes, which the Backup has no use for, and on infra.run_as_user and infra.run_as_group, since it writes no security context on the Backup.
Provenance
- Content digest
- sha256:17cadd5b6c31e80dd8a095583424bbf27235758ef5b033c122d60accdc8d68e9
- Published
- 2026-11-10T10:15:14Z
- 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:f7ff625157839716cf70141bab32795ce706bd99f3e6dccd7fd0aa6c8e563ce4
Reference at this version
oci://hub.aggrega.ai/featurerecipe/helm/backup-mariadb-operator:1.0.0- Target
- —
- Implements
- core/backup:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
No provides templates declared.
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.