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.
Herkunft
- Inhalts-Digest
- sha256:17cadd5b6c31e80dd8a095583424bbf27235758ef5b033c122d60accdc8d68e9
- Veröffentlicht
- 2026-11-10T10:15:14Z
- Signaturidentität
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signatur
- Offiziellapplication/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
Referenz zu dieser Version
oci://hub.aggrega.ai/featurerecipe/helm/backup-mariadb-operator:1.0.0- Ziel
- —
- Implementiert
- core/backup:1.0.0
Stellt bereit
Deterministische Zeigervorlagen, die dieses Rezept für Konsumenten verdrahtet.
Keine provides-Vorlagen deklariert.
Workload
Keine Workload-Vorlage deklariert.
Lokale Variablen
| Name | Vorlage |
|---|---|
| name | {{ .context.instance_id }}-{{ .attachment_name | replace "_" "-" }} |
Wertezuordnung
Keine Wertezuordnung deklariert.
Beziehungen
Typisierte Kanten zu und von anderen veröffentlichten Entitäten. Eine Referenz ohne veröffentlichtes Ziel wird als unterbrochene Kante statt als Link dargestellt.
Verwendet
- implementiertimplementiert
core/backup:1.0.0
Verwendet von
Nichts im Katalog hängt von dieser Entität ab.