From 3e86bf0cc8f8330db22a312694d1e33350fa8fd1 Mon Sep 17 00:00:00 2001 From: Julien Godin Date: Thu, 7 Oct 2021 10:19:40 +0200 Subject: [PATCH] feat: improve documentation for reverse selector Signed-off-by: Julien Godin --- site/content/docs/main/resource-filtering.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/site/content/docs/main/resource-filtering.md b/site/content/docs/main/resource-filtering.md index 6c1470e04..ddcd97e4a 100644 --- a/site/content/docs/main/resource-filtering.md +++ b/site/content/docs/main/resource-filtering.md @@ -88,6 +88,12 @@ Wildcard takes precedence when both a wildcard and specific resource are include ```bash velero backup create --selector = ``` +* Include resources that are not matching the selector + ```bash + velero backup create --selector != + ``` + +For more information read the [Kubernetes label selector documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors) ## Excludes