From b7cc62d077818854b29113c70a6e4ec5bf0ca1ad Mon Sep 17 00:00:00 2001 From: Raghuram Devarakonda Date: Fri, 6 Oct 2023 16:11:24 -0400 Subject: [PATCH] Document about item action plugin ordering. (#6719) Signed-off-by: Raghuram Devarakonda --- site/content/docs/main/custom-plugins.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/site/content/docs/main/custom-plugins.md b/site/content/docs/main/custom-plugins.md index c0937c20c..a4c13d0f4 100644 --- a/site/content/docs/main/custom-plugins.md +++ b/site/content/docs/main/custom-plugins.md @@ -59,6 +59,11 @@ Velero supports the following kinds of plugins: - **Restore Item Action** - executes arbitrary logic for individual items prior to restoring them into a cluster - **Delete Item Action** - executes arbitrary logic based on individual items within a backup prior to deleting the backup +Plugin binaries are discovered by recursively reading a directory in no particular order. Hence no guarantee is provided for the +order in which item action plugins are invoked. However, if a single binary implements multiple item action plugins, +they may be invoked in the order in which they are registered but it is best to not depend on this +implementation. This is not guaranteed officially and the implementation can change at any time. + ## Plugin Logging Velero provides a [logger][2] that can be used by plugins to log structured information to the main Velero server log or