cephrgw: remove cnpg backup buckets (ec migration step 2) (#315)
Step 2 of the ec placement migration: with purge-on-delete now allowed (#313), removing the Bucket CRs makes the operator delete the underlying RGW buckets and their objects, freeing the names to be recreated on ec in step 3. - remove the nine cnpg backup Bucket resources - keep ObjectStoreUser and ScheduledBackup so the backup-s3 secrets and schedules survive Reviewed-on: #315 Co-authored-by: Ben Vincent <ben@unkin.net> Co-committed-by: Ben Vincent <ben@unkin.net>
This commit was merged in pull request #315.
This commit is contained in:
@@ -19,22 +19,6 @@ spec:
|
||||
# Keep the RGW user (and thus the keys) if this CR is ever deleted.
|
||||
retainOnDelete: true
|
||||
---
|
||||
apiVersion: ceph.unkin.net/v1alpha1
|
||||
kind: Bucket
|
||||
metadata:
|
||||
name: cnpg-netbox
|
||||
namespace: netbox
|
||||
spec:
|
||||
placementTarget: ec
|
||||
bucketName: cnpg-netbox
|
||||
ownerRef: cnpg-netbox-backup
|
||||
versioning: false
|
||||
tags:
|
||||
app: netbox
|
||||
purpose: cnpg-backup
|
||||
retainOnDelete: false
|
||||
purgeOnDelete: true
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: ScheduledBackup
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user