From 6d4e654522f926370fdc240ff22b70e34550c4ef Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 17 Oct 2023 14:36:16 +0300 Subject: [PATCH] Document Bucket prefix field Signed-off-by: Stefan Prodan --- docs/spec/v1beta2/buckets.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/spec/v1beta2/buckets.md b/docs/spec/v1beta2/buckets.md index eb7eb801..103350eb 100644 --- a/docs/spec/v1beta2/buckets.md +++ b/docs/spec/v1beta2/buckets.md @@ -785,6 +785,15 @@ credentials for the object storage. For some `.spec.provider` implementations the presence of the field is required, see [Provider](#provider) for more details and examples. +### Prefix + +`.spec.prefix` is an optional field to enable server-side filtering +of files in the Bucket. + +**Note:** The server-side filtering works only with the `generic` and `aws` +[provider](#provider) and is preferred over [`.spec.ignore`](#ignore) +as a more efficient way of excluding files. + ### Ignore `.spec.ignore` is an optional field to specify rules in [the `.gitignore`