From 62f411d309d031c5bc629e83bec0802048861f6b Mon Sep 17 00:00:00 2001 From: Gabriel Saratura <58511627+zugao@users.noreply.github.com> Date: Wed, 25 Oct 2023 16:30:56 +0200 Subject: [PATCH] Warn users regarding bucket deletion --- docs/modules/ROOT/pages/object-storage/delete.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/object-storage/delete.adoc b/docs/modules/ROOT/pages/object-storage/delete.adoc index 44a9f10..c1c17d1 100644 --- a/docs/modules/ROOT/pages/object-storage/delete.adoc +++ b/docs/modules/ROOT/pages/object-storage/delete.adoc @@ -11,7 +11,7 @@ $ oc delete objectbucket my-bucket By default, deleting the `ObjectBucket` will also recursively delete all objects within it and the bucket itself. -To prevent that, there's a `deletionPolicy` called `DeletIfEmpty`. As the name suggests, it will then only delete the bucket if it's empty. However, you will still lose access to the data. If you've deleted a bucket by mistake and had the `DeletIfEmpty` policy set, please contact support@vshn.ch and we will help you get your data back. +To prevent that, there's a `deletionPolicy` called `DeleteIfEmpty`. As the name suggests, it will then only delete the bucket if it's empty. However, you will still lose access to the data. If you've deleted a bucket by mistake and had the `DeletIfEmpty` policy set, please contact support@vshn.ch and we will help you get your data back. .Example [source,yaml] @@ -27,3 +27,5 @@ spec: region: ch-gva-2 bucketDeletionPolicy: DeleteIfEmpty ---- + +IMPORTANT: Before deleting an ObjectBucket with deletion policy `DeleteIfEmpty` be sure to remove all data from the bucket itself. Failing to do so may incur additional costs due to bucket not being effectively deleted. Please contact support@vshn.ch for further assistance.