--- # Shared Ceph RGW (S3) bucket for arrstack application backups (the periodic # radarr/sonarr/prowlarr config+database zip backups), provisioned by the # in-estate cephrgw-operator. Backups otherwise land on each replica's local # /config (an emptyDir) and are lost when that pod is rescheduled; routing them # to S3 lets any replica write and restore them. # # Backups are kept in their own bucket (not the arrstack-media one) because they # carry secrets (Config.xml holds API keys, the DB has all app state) and thus # warrant separate credentials, lifecycle and retention from the public-ish # poster art. The three apps share this one bucket, isolated by a per-app key # prefix (radarr/, sonarr/, prowlarr/) set via __BackupS3__Prefix. # # The operator mints the S3 credential Secret (arrstack-backups-s3) in this # namespace with keys AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and S3_ENDPOINT, # so no Vault KV seeding is required. apiVersion: ceph.unkin.net/v1alpha1 kind: ObjectStoreUser metadata: name: arrstack-backups namespace: arrstack spec: displayName: "arrstack backups owner" uid: arrstack-backups maxBuckets: 5 secretName: arrstack-backups-s3 retainOnDelete: true --- apiVersion: ceph.unkin.net/v1alpha1 kind: Bucket metadata: name: arrstack-backups namespace: arrstack spec: placementTarget: ec bucketName: arrstack-backups ownerRef: arrstack-backups versioning: false tags: app: arrstack purpose: backups retainOnDelete: true