Merge pull request #6003 from blackpiglet/remove_not_equal

Replace != with notin for --selector.
pull/5901/head^2
Daniel Jiang 2023-03-21 10:18:42 +08:00 committed by GitHub
commit ac87154348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)