From a5b40b7d0db2dad66757cf156ab5dbf1c474ab7c Mon Sep 17 00:00:00 2001 From: Marco van Zijl Date: Sat, 10 May 2025 11:16:01 +0200 Subject: [PATCH] Migrate Postgres backup user to ObjectBucketClaim with updated configuration --- applications/templates/cloudnativepg.yaml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/applications/templates/cloudnativepg.yaml b/applications/templates/cloudnativepg.yaml index ea6f2cd..35bdd46 100644 --- a/applications/templates/cloudnativepg.yaml +++ b/applications/templates/cloudnativepg.yaml @@ -69,16 +69,13 @@ spec: size: 50Gi storageClass: local-path --- -apiVersion: ceph.rook.io/v1 -kind: CephObjectStoreUser +apiVersion: objectbucket.io/v1alpha1 +kind: ObjectBucketClaim metadata: - name: postgres-backup-user + name: postgres-backup-claim namespace: ceph spec: - store: rgw-bulk - displayName: "Postgres Backup User" - quotas: - maxSize: 400G - capabilities: - user: "*" - bucket: "*" \ No newline at end of file + generateBucketName: postgres-backup + storageClassName: rgw-bulk + additionalConfig: + maxSize: "400G" \ No newline at end of file