Merge pull request #6003 from blackpiglet/remove_not_equal
Replace != with notin for --selector.pull/5901/head^2
commit
ac87154348
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue