From 446e43d0186a551f60830e64e0689f79d7ff82bb Mon Sep 17 00:00:00 2001 From: Xun Jiang Date: Mon, 20 Mar 2023 17:13:24 +0800 Subject: [PATCH] Replace != with notin for --selector. Signed-off-by: Xun Jiang --- site/content/docs/main/resource-filtering.md | 2 +- site/content/docs/v1.10/resource-filtering.md | 2 +- site/content/docs/v1.8/resource-filtering.md | 2 +- site/content/docs/v1.9/resource-filtering.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site/content/docs/main/resource-filtering.md b/site/content/docs/main/resource-filtering.md index 9a34fd228..005ce75f5 100644 --- a/site/content/docs/main/resource-filtering.md +++ b/site/content/docs/main/resource-filtering.md @@ -94,7 +94,7 @@ Includes cluster-scoped resources. Cannot work with `--include-cluster-scope-res ``` * Include resources that are not matching the selector ```bash - velero backup create --selector != + velero backup create --selector " notin ()" ``` For more information read the [Kubernetes label selector documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors) diff --git a/site/content/docs/v1.10/resource-filtering.md b/site/content/docs/v1.10/resource-filtering.md index 02ae3d68d..d3f2d5ee2 100644 --- a/site/content/docs/v1.10/resource-filtering.md +++ b/site/content/docs/v1.10/resource-filtering.md @@ -94,7 +94,7 @@ Includes cluster-scoped resources. This option can have three possible values: ``` * Include resources that are not matching the selector ```bash - velero backup create --selector != + velero backup create --selector " notin ()" ``` For more information read the [Kubernetes label selector documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors) diff --git a/site/content/docs/v1.8/resource-filtering.md b/site/content/docs/v1.8/resource-filtering.md index 1f2d2133d..98dad70a6 100644 --- a/site/content/docs/v1.8/resource-filtering.md +++ b/site/content/docs/v1.8/resource-filtering.md @@ -90,7 +90,7 @@ Wildcard takes precedence when both a wildcard and specific resource are include ``` * Include resources that are not matching the selector ```bash - velero backup create --selector != + velero backup create --selector " notin ()" ``` For more information read the [Kubernetes label selector documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors) diff --git a/site/content/docs/v1.9/resource-filtering.md b/site/content/docs/v1.9/resource-filtering.md index 5c0b34c73..4dd2a68d8 100644 --- a/site/content/docs/v1.9/resource-filtering.md +++ b/site/content/docs/v1.9/resource-filtering.md @@ -94,7 +94,7 @@ Includes cluster-scoped resources. This option can have three possible values: ``` * Include resources that are not matching the selector ```bash - velero backup create --selector != + velero backup create --selector " notin ()" ``` For more information read the [Kubernetes label selector documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors)