Skip to content

Commit 04cab42

Browse files
author
Yann Hamon
committed
Adding new schemas
1 parent 5afd99b commit 04cab42

File tree

48 files changed

+244
-196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+244
-196
lines changed

master-local/_definitions.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,8 @@
14881488
"required": [
14891489
"type",
14901490
"status",
1491-
"reason"
1491+
"reason",
1492+
"message"
14921493
],
14931494
"type": "object"
14941495
},
@@ -13780,6 +13781,9 @@
1378013781
"description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
1378113782
}
1378213783
},
13784+
"required": [
13785+
"parentRef"
13786+
],
1378313787
"type": "object"
1378413788
},
1378513789
"io.k8s.api.networking.v1alpha1.ParentReference": {
@@ -13802,6 +13806,10 @@
1380213806
"type": "string"
1380313807
}
1380413808
},
13809+
"required": [
13810+
"resource",
13811+
"name"
13812+
],
1380513813
"type": "object"
1380613814
},
1380713815
"io.k8s.api.networking.v1alpha1.ServiceCIDR": {

master-local/ipaddressspec-networking-v1alpha1.json

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
77
}
88
},
9+
"required": [
10+
"parentRef"
11+
],
912
"type": "object",
1013
"$schema": "http://json-schema.org/schema#"
1114
}

master-local/ipaddressspec.json

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
77
}
88
},
9+
"required": [
10+
"parentRef"
11+
],
912
"type": "object",
1013
"$schema": "http://json-schema.org/schema#"
1114
}

master-local/parentreference-networking-v1alpha1.json

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
]
3131
}
3232
},
33+
"required": [
34+
"resource",
35+
"name"
36+
],
3337
"type": "object",
3438
"$schema": "http://json-schema.org/schema#"
3539
}

master-local/parentreference.json

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
]
3131
}
3232
},
33+
"required": [
34+
"resource",
35+
"name"
36+
],
3337
"type": "object",
3438
"$schema": "http://json-schema.org/schema#"
3539
}

master-local/storageversioncondition-apiserverinternal-v1alpha1.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"required": [
4646
"type",
4747
"status",
48-
"reason"
48+
"reason",
49+
"message"
4950
],
5051
"type": "object",
5152
"$schema": "http://json-schema.org/schema#"

master-local/storageversioncondition.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"required": [
4646
"type",
4747
"status",
48-
"reason"
48+
"reason",
49+
"message"
4950
],
5051
"type": "object",
5152
"$schema": "http://json-schema.org/schema#"

master-standalone-strict/_definitions.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,8 @@
15341534
"required": [
15351535
"type",
15361536
"status",
1537-
"reason"
1537+
"reason",
1538+
"message"
15381539
],
15391540
"type": "object",
15401541
"additionalProperties": false
@@ -14230,6 +14231,9 @@
1423014231
"description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
1423114232
}
1423214233
},
14234+
"required": [
14235+
"parentRef"
14236+
],
1423314237
"type": "object",
1423414238
"additionalProperties": false
1423514239
},
@@ -14253,6 +14257,10 @@
1425314257
"type": "string"
1425414258
}
1425514259
},
14260+
"required": [
14261+
"resource",
14262+
"name"
14263+
],
1425614264
"type": "object",
1425714265
"additionalProperties": false
1425814266
},

master-standalone-strict/ipaddress-networking-v1alpha1.json

+9-11
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,7 @@
289289
},
290290
"name": {
291291
"description": "Name is the name of the object being referenced.",
292-
"type": [
293-
"string",
294-
"null"
295-
]
292+
"type": "string"
296293
},
297294
"namespace": {
298295
"description": "Namespace is the namespace of the object being referenced.",
@@ -303,19 +300,20 @@
303300
},
304301
"resource": {
305302
"description": "Resource is the resource of the object being referenced.",
306-
"type": [
307-
"string",
308-
"null"
309-
]
303+
"type": "string"
310304
}
311305
},
312-
"type": [
313-
"object",
314-
"null"
306+
"required": [
307+
"resource",
308+
"name"
315309
],
310+
"type": "object",
316311
"additionalProperties": false
317312
}
318313
},
314+
"required": [
315+
"parentRef"
316+
],
319317
"type": [
320318
"object",
321319
"null"

master-standalone-strict/ipaddress.json

+9-11
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,7 @@
286286
},
287287
"name": {
288288
"description": "Name is the name of the object being referenced.",
289-
"type": [
290-
"string",
291-
"null"
292-
]
289+
"type": "string"
293290
},
294291
"namespace": {
295292
"description": "Namespace is the namespace of the object being referenced.",
@@ -300,19 +297,20 @@
300297
},
301298
"resource": {
302299
"description": "Resource is the resource of the object being referenced.",
303-
"type": [
304-
"string",
305-
"null"
306-
]
300+
"type": "string"
307301
}
308302
},
309-
"type": [
310-
"object",
311-
"null"
303+
"required": [
304+
"resource",
305+
"name"
312306
],
307+
"type": "object",
313308
"additionalProperties": false
314309
}
315310
},
311+
"required": [
312+
"parentRef"
313+
],
316314
"type": [
317315
"object",
318316
"null"

master-standalone-strict/ipaddresslist-networking-v1alpha1.json

+9-11
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,7 @@
304304
},
305305
"name": {
306306
"description": "Name is the name of the object being referenced.",
307-
"type": [
308-
"string",
309-
"null"
310-
]
307+
"type": "string"
311308
},
312309
"namespace": {
313310
"description": "Namespace is the namespace of the object being referenced.",
@@ -318,19 +315,20 @@
318315
},
319316
"resource": {
320317
"description": "Resource is the resource of the object being referenced.",
321-
"type": [
322-
"string",
323-
"null"
324-
]
318+
"type": "string"
325319
}
326320
},
327-
"type": [
328-
"object",
329-
"null"
321+
"required": [
322+
"resource",
323+
"name"
330324
],
325+
"type": "object",
331326
"additionalProperties": false
332327
}
333328
},
329+
"required": [
330+
"parentRef"
331+
],
334332
"type": [
335333
"object",
336334
"null"

master-standalone-strict/ipaddresslist.json

+9-11
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,7 @@
298298
},
299299
"name": {
300300
"description": "Name is the name of the object being referenced.",
301-
"type": [
302-
"string",
303-
"null"
304-
]
301+
"type": "string"
305302
},
306303
"namespace": {
307304
"description": "Namespace is the namespace of the object being referenced.",
@@ -312,19 +309,20 @@
312309
},
313310
"resource": {
314311
"description": "Resource is the resource of the object being referenced.",
315-
"type": [
316-
"string",
317-
"null"
318-
]
312+
"type": "string"
319313
}
320314
},
321-
"type": [
322-
"object",
323-
"null"
315+
"required": [
316+
"resource",
317+
"name"
324318
],
319+
"type": "object",
325320
"additionalProperties": false
326321
}
327322
},
323+
"required": [
324+
"parentRef"
325+
],
328326
"type": [
329327
"object",
330328
"null"

master-standalone-strict/ipaddressspec-networking-v1alpha1.json

+9-8
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
},
1414
"name": {
1515
"description": "Name is the name of the object being referenced.",
16-
"type": [
17-
"string",
18-
"null"
19-
]
16+
"type": "string"
2017
},
2118
"namespace": {
2219
"description": "Namespace is the namespace of the object being referenced.",
@@ -27,19 +24,23 @@
2724
},
2825
"resource": {
2926
"description": "Resource is the resource of the object being referenced.",
30-
"type": [
31-
"string",
32-
"null"
33-
]
27+
"type": "string"
3428
}
3529
},
30+
"required": [
31+
"resource",
32+
"name"
33+
],
3634
"type": [
3735
"object",
3836
"null"
3937
],
4038
"additionalProperties": false
4139
}
4240
},
41+
"required": [
42+
"parentRef"
43+
],
4344
"type": "object",
4445
"additionalProperties": false,
4546
"$schema": "http://json-schema.org/schema#"

master-standalone-strict/ipaddressspec.json

+9-8
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
},
1414
"name": {
1515
"description": "Name is the name of the object being referenced.",
16-
"type": [
17-
"string",
18-
"null"
19-
]
16+
"type": "string"
2017
},
2118
"namespace": {
2219
"description": "Namespace is the namespace of the object being referenced.",
@@ -27,19 +24,23 @@
2724
},
2825
"resource": {
2926
"description": "Resource is the resource of the object being referenced.",
30-
"type": [
31-
"string",
32-
"null"
33-
]
27+
"type": "string"
3428
}
3529
},
30+
"required": [
31+
"resource",
32+
"name"
33+
],
3634
"type": [
3735
"object",
3836
"null"
3937
],
4038
"additionalProperties": false
4139
}
4240
},
41+
"required": [
42+
"parentRef"
43+
],
4344
"type": "object",
4445
"additionalProperties": false,
4546
"$schema": "http://json-schema.org/schema#"

master-standalone-strict/parentreference-networking-v1alpha1.json

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
]
3131
}
3232
},
33+
"required": [
34+
"resource",
35+
"name"
36+
],
3337
"type": "object",
3438
"additionalProperties": false,
3539
"$schema": "http://json-schema.org/schema#"

master-standalone-strict/parentreference.json

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
]
3131
}
3232
},
33+
"required": [
34+
"resource",
35+
"name"
36+
],
3337
"type": "object",
3438
"additionalProperties": false,
3539
"$schema": "http://json-schema.org/schema#"

0 commit comments

Comments
 (0)