Skip to content

Commit 8e0973b

Browse files
authored
Update md format to make it more easier to read
Before the changes, the statement of the set-values messed up together, so it is hard to read it out clearly.
1 parent 6f0128c commit 8e0973b

File tree

1 file changed

+5
-4
lines changed
  • content/en/docs/concepts/overview/working-with-objects

1 file changed

+5
-4
lines changed

content/en/docs/concepts/overview/working-with-objects/labels.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,11 @@ partition
140140
!partition
141141
```
142142
143-
The first example selects all resources with key equal to `environment` and value equal to `production` or `qa`.
144-
The second example selects all resources with key equal to `tier` and values other than `frontend` and `backend`, and all resources with no labels with the `tier` key.
145-
The third example selects all resources including a label with key `partition`; no values are checked.
146-
The fourth example selects all resources without a label with key `partition`; no values are checked.
143+
* The first example selects all resources with key equal to `environment` and value equal to `production` or `qa`.
144+
* The second example selects all resources with key equal to `tier` and values other than `frontend` and `backend`, and all resources with no labels with the `tier` key.
145+
* The third example selects all resources including a label with key `partition`; no values are checked.
146+
* The fourth example selects all resources without a label with key `partition`; no values are checked.
147+
147148
Similarly the comma separator acts as an _AND_ operator. So filtering resources with a `partition` key (no matter the value) and with `environment` different than  `qa` can be achieved using `partition,environment notin (qa)`.
148149
The _set-based_ label selector is a general form of equality since `environment=production` is equivalent to `environment in (production)`; similarly for `!=` and `notin`.
149150

0 commit comments

Comments
 (0)