Add ability to include/exclude namespaces.

This commit is contained in:
2024-09-05 08:15:05 +01:00
parent 0e34ab7a27
commit 9b1135cb7b
15 changed files with 124 additions and 37 deletions
+11
View File
@@ -33,9 +33,20 @@ spec:
# Excludes will remove all images with listed wording from the backup list
# excludes:
# - nginx
# Includes will add ONLY images with listed wording to the backup list
includes:
- busybox
# Works only with images within specified namespaces
# namespaces:
# - default
# - longhorn
# Works with all images EXCEPT of the ones within namespaces specified
# excludedNamespaces:
# - my-awesome-namespace
basePath: /images # base path in the target directory
storage:
target: S3 # file backup is not ready yet