forked from cw-ozaki/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
topologyselectorterm-v1.json
39 lines (39 loc) · 1.33 KB
/
topologyselectorterm-v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.",
"properties": {
"matchLabelExpressions": {
"description": "A list of topology selector requirements by labels.",
"type": [
"array",
"null"
],
"items": {
"description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.",
"required": [
"key",
"values"
],
"properties": {
"key": {
"description": "The label key that the selector applies to.",
"type": "string"
},
"values": {
"description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.",
"type": "array",
"items": {
"type": [
"string",
"null"
]
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/schema#",
"type": "object"
}