Replace != with notin for --selector.

Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
This commit is contained in:
Xun Jiang
2023-03-20 17:13:24 +08:00
parent 81bee240fe
commit 446e43d018
4 changed files with 4 additions and 4 deletions

View File

@@ -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 <backup-name> --selector <key>!=<value>
velero backup create <backup-name> --selector "<key> notin (<value>)"
```
For more information read the [Kubernetes label selector documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors)

View File

@@ -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 <backup-name> --selector <key>!=<value>
velero backup create <backup-name> --selector "<key> notin (<value>)"
```
For more information read the [Kubernetes label selector documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors)

View File

@@ -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 <backup-name> --selector <key>!=<value>
velero backup create <backup-name> --selector "<key> notin (<value>)"
```
For more information read the [Kubernetes label selector documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors)

View File

@@ -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 <backup-name> --selector <key>!=<value>
velero backup create <backup-name> --selector "<key> notin (<value>)"
```
For more information read the [Kubernetes label selector documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors)