diff --git a/internal/controller/bucket/bucket_validation_webhook.go b/internal/controller/bucket/bucket_validation_webhook.go index 078877a3..abc2ebcf 100644 --- a/internal/controller/bucket/bucket_validation_webhook.go +++ b/internal/controller/bucket/bucket_validation_webhook.go @@ -57,6 +57,10 @@ func (b *BucketValidator) ValidateUpdate(ctx context.Context, oldObj, newObj run return nil, errors.New(errNotBucket) } + if bucket.ObjectMeta.DeletionTimestamp != nil { + return nil, nil + } + return nil, b.validateCreateOrUpdate(bucket) }