kubernetes_schemas 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/Gemfile +6 -0
  4. data/README.md +35 -0
  5. data/Rakefile +28 -0
  6. data/bin/console +14 -0
  7. data/bin/setup +8 -0
  8. data/kubernetes_schemas.gemspec +30 -0
  9. data/lib/kubernetes_schemas/kubernetes_versions.rb +3 -0
  10. data/lib/kubernetes_schemas/version.rb +3 -0
  11. data/lib/kubernetes_schemas.rb +33 -0
  12. data/schemas/1.22/apigroup.json +119 -0
  13. data/schemas/1.22/apigrouplist.json +156 -0
  14. data/schemas/1.22/apiresourcelist.json +138 -0
  15. data/schemas/1.22/apiservice.json +431 -0
  16. data/schemas/1.22/apiservicelist.json +512 -0
  17. data/schemas/1.22/apiversions.json +76 -0
  18. data/schemas/1.22/binding.json +344 -0
  19. data/schemas/1.22/certificatesigningrequest.json +457 -0
  20. data/schemas/1.22/certificatesigningrequestlist.json +535 -0
  21. data/schemas/1.22/clusterrole.json +445 -0
  22. data/schemas/1.22/clusterrolebinding.json +355 -0
  23. data/schemas/1.22/clusterrolebindinglist.json +433 -0
  24. data/schemas/1.22/clusterrolelist.json +526 -0
  25. data/schemas/1.22/componentstatus.json +326 -0
  26. data/schemas/1.22/componentstatuslist.json +407 -0
  27. data/schemas/1.22/configmap.json +316 -0
  28. data/schemas/1.22/configmaplist.json +397 -0
  29. data/schemas/1.22/controllerrevision.json +300 -0
  30. data/schemas/1.22/controllerrevisionlist.json +378 -0
  31. data/schemas/1.22/cronjob.json +9720 -0
  32. data/schemas/1.22/cronjoblist.json +9801 -0
  33. data/schemas/1.22/csidriver.json +375 -0
  34. data/schemas/1.22/csidriverlist.json +453 -0
  35. data/schemas/1.22/csinode.json +354 -0
  36. data/schemas/1.22/csinodelist.json +432 -0
  37. data/schemas/1.22/csistoragecapacity.json +390 -0
  38. data/schemas/1.22/csistoragecapacitylist.json +472 -0
  39. data/schemas/1.22/daemonset.json +9453 -0
  40. data/schemas/1.22/daemonsetlist.json +9534 -0
  41. data/schemas/1.22/deleteoptions.json +334 -0
  42. data/schemas/1.22/deployment.json +9474 -0
  43. data/schemas/1.22/deploymentlist.json +9555 -0
  44. data/schemas/1.22/endpoints.json +538 -0
  45. data/schemas/1.22/endpointslice.json +519 -0
  46. data/schemas/1.22/endpointslicelist.json +594 -0
  47. data/schemas/1.22/endpointslist.json +619 -0
  48. data/schemas/1.22/event.json +523 -0
  49. data/schemas/1.22/eventlist.json +601 -0
  50. data/schemas/1.22/eviction.json +618 -0
  51. data/schemas/1.22/flowschema.json +619 -0
  52. data/schemas/1.22/flowschemalist.json +700 -0
  53. data/schemas/1.22/horizontalpodautoscaler.json +1770 -0
  54. data/schemas/1.22/horizontalpodautoscalerlist.json +1851 -0
  55. data/schemas/1.22/ingress.json +638 -0
  56. data/schemas/1.22/ingressclass.json +340 -0
  57. data/schemas/1.22/ingressclasslist.json +421 -0
  58. data/schemas/1.22/ingresslist.json +719 -0
  59. data/schemas/1.22/job.json +9470 -0
  60. data/schemas/1.22/joblist.json +9551 -0
  61. data/schemas/1.22/lease.json +330 -0
  62. data/schemas/1.22/leaselist.json +411 -0
  63. data/schemas/1.22/limitrange.json +429 -0
  64. data/schemas/1.22/limitrangelist.json +510 -0
  65. data/schemas/1.22/localsubjectaccessreview.json +458 -0
  66. data/schemas/1.22/mutatingwebhookconfiguration.json +617 -0
  67. data/schemas/1.22/mutatingwebhookconfigurationlist.json +698 -0
  68. data/schemas/1.22/namespace.json +370 -0
  69. data/schemas/1.22/namespacelist.json +451 -0
  70. data/schemas/1.22/networkpolicy.json +850 -0
  71. data/schemas/1.22/networkpolicylist.json +931 -0
  72. data/schemas/1.22/node.json +905 -0
  73. data/schemas/1.22/nodelist.json +986 -0
  74. data/schemas/1.22/persistentvolume.json +1775 -0
  75. data/schemas/1.22/persistentvolumeclaim.json +614 -0
  76. data/schemas/1.22/persistentvolumeclaimlist.json +695 -0
  77. data/schemas/1.22/persistentvolumelist.json +1856 -0
  78. data/schemas/1.22/pod.json +9911 -0
  79. data/schemas/1.22/poddisruptionbudget.json +505 -0
  80. data/schemas/1.22/poddisruptionbudgetlist.json +586 -0
  81. data/schemas/1.22/podlist.json +9992 -0
  82. data/schemas/1.22/podsecuritypolicy.json +797 -0
  83. data/schemas/1.22/podsecuritypolicylist.json +878 -0
  84. data/schemas/1.22/podtemplate.json +9180 -0
  85. data/schemas/1.22/podtemplatelist.json +9261 -0
  86. data/schemas/1.22/priorityclass.json +314 -0
  87. data/schemas/1.22/priorityclasslist.json +392 -0
  88. data/schemas/1.22/prioritylevelconfiguration.json +445 -0
  89. data/schemas/1.22/prioritylevelconfigurationlist.json +526 -0
  90. data/schemas/1.22/replicaset.json +9372 -0
  91. data/schemas/1.22/replicasetlist.json +9453 -0
  92. data/schemas/1.22/replicationcontroller.json +9320 -0
  93. data/schemas/1.22/replicationcontrollerlist.json +9401 -0
  94. data/schemas/1.22/resourcequota.json +433 -0
  95. data/schemas/1.22/resourcequotalist.json +514 -0
  96. data/schemas/1.22/role.json +363 -0
  97. data/schemas/1.22/rolebinding.json +355 -0
  98. data/schemas/1.22/rolebindinglist.json +433 -0
  99. data/schemas/1.22/rolelist.json +444 -0
  100. data/schemas/1.22/runtimeclass.json +400 -0
  101. data/schemas/1.22/runtimeclasslist.json +478 -0
  102. data/schemas/1.22/scale.json +323 -0
  103. data/schemas/1.22/secret.json +323 -0
  104. data/schemas/1.22/secretlist.json +404 -0
  105. data/schemas/1.22/selfsubjectaccessreview.json +412 -0
  106. data/schemas/1.22/selfsubjectrulesreview.json +430 -0
  107. data/schemas/1.22/service.json +688 -0
  108. data/schemas/1.22/serviceaccount.json +381 -0
  109. data/schemas/1.22/serviceaccountlist.json +462 -0
  110. data/schemas/1.22/servicelist.json +769 -0
  111. data/schemas/1.22/statefulset.json +10076 -0
  112. data/schemas/1.22/statefulsetlist.json +10157 -0
  113. data/schemas/1.22/status.json +180 -0
  114. data/schemas/1.22/storageclass.json +391 -0
  115. data/schemas/1.22/storageclasslist.json +469 -0
  116. data/schemas/1.22/subjectaccessreview.json +458 -0
  117. data/schemas/1.22/tokenreview.json +405 -0
  118. data/schemas/1.22/validatingwebhookconfiguration.json +610 -0
  119. data/schemas/1.22/validatingwebhookconfigurationlist.json +691 -0
  120. data/schemas/1.22/volumeattachment.json +1860 -0
  121. data/schemas/1.22/volumeattachmentlist.json +1938 -0
  122. data/schemas/1.22/watchevent.json +276 -0
  123. metadata +207 -0
@@ -0,0 +1,334 @@
1
+ {
2
+ "description": "DeleteOptions may be provided when deleting an API object.",
3
+ "type": "object",
4
+ "properties": {
5
+ "apiVersion": {
6
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
7
+ "type": [
8
+ "string",
9
+ "null"
10
+ ]
11
+ },
12
+ "dryRun": {
13
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
14
+ "type": [
15
+ "array",
16
+ "null"
17
+ ],
18
+ "items": {
19
+ "type": [
20
+ "string",
21
+ "null"
22
+ ]
23
+ }
24
+ },
25
+ "gracePeriodSeconds": {
26
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
27
+ "type": [
28
+ "integer",
29
+ "null"
30
+ ],
31
+ "format": "int64"
32
+ },
33
+ "kind": {
34
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
35
+ "type": [
36
+ "string",
37
+ "null"
38
+ ],
39
+ "enum": [
40
+ "DeleteOptions"
41
+ ]
42
+ },
43
+ "orphanDependents": {
44
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
45
+ "type": [
46
+ "boolean",
47
+ "null"
48
+ ]
49
+ },
50
+ "preconditions": {
51
+ "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
52
+ "type": [
53
+ "object",
54
+ "null"
55
+ ],
56
+ "properties": {
57
+ "resourceVersion": {
58
+ "description": "Specifies the target ResourceVersion",
59
+ "type": [
60
+ "string",
61
+ "null"
62
+ ]
63
+ },
64
+ "uid": {
65
+ "description": "Specifies the target UID.",
66
+ "type": [
67
+ "string",
68
+ "null"
69
+ ]
70
+ }
71
+ }
72
+ },
73
+ "propagationPolicy": {
74
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
75
+ "type": [
76
+ "string",
77
+ "null"
78
+ ]
79
+ }
80
+ },
81
+ "x-kubernetes-group-version-kind": [
82
+ {
83
+ "group": "",
84
+ "kind": "DeleteOptions",
85
+ "version": "v1"
86
+ },
87
+ {
88
+ "group": "admission.k8s.io",
89
+ "kind": "DeleteOptions",
90
+ "version": "v1"
91
+ },
92
+ {
93
+ "group": "admission.k8s.io",
94
+ "kind": "DeleteOptions",
95
+ "version": "v1beta1"
96
+ },
97
+ {
98
+ "group": "admissionregistration.k8s.io",
99
+ "kind": "DeleteOptions",
100
+ "version": "v1"
101
+ },
102
+ {
103
+ "group": "admissionregistration.k8s.io",
104
+ "kind": "DeleteOptions",
105
+ "version": "v1beta1"
106
+ },
107
+ {
108
+ "group": "apiextensions.k8s.io",
109
+ "kind": "DeleteOptions",
110
+ "version": "v1"
111
+ },
112
+ {
113
+ "group": "apiextensions.k8s.io",
114
+ "kind": "DeleteOptions",
115
+ "version": "v1beta1"
116
+ },
117
+ {
118
+ "group": "apiregistration.k8s.io",
119
+ "kind": "DeleteOptions",
120
+ "version": "v1"
121
+ },
122
+ {
123
+ "group": "apiregistration.k8s.io",
124
+ "kind": "DeleteOptions",
125
+ "version": "v1beta1"
126
+ },
127
+ {
128
+ "group": "apps",
129
+ "kind": "DeleteOptions",
130
+ "version": "v1"
131
+ },
132
+ {
133
+ "group": "apps",
134
+ "kind": "DeleteOptions",
135
+ "version": "v1beta1"
136
+ },
137
+ {
138
+ "group": "apps",
139
+ "kind": "DeleteOptions",
140
+ "version": "v1beta2"
141
+ },
142
+ {
143
+ "group": "authentication.k8s.io",
144
+ "kind": "DeleteOptions",
145
+ "version": "v1"
146
+ },
147
+ {
148
+ "group": "authentication.k8s.io",
149
+ "kind": "DeleteOptions",
150
+ "version": "v1beta1"
151
+ },
152
+ {
153
+ "group": "authorization.k8s.io",
154
+ "kind": "DeleteOptions",
155
+ "version": "v1"
156
+ },
157
+ {
158
+ "group": "authorization.k8s.io",
159
+ "kind": "DeleteOptions",
160
+ "version": "v1beta1"
161
+ },
162
+ {
163
+ "group": "autoscaling",
164
+ "kind": "DeleteOptions",
165
+ "version": "v1"
166
+ },
167
+ {
168
+ "group": "autoscaling",
169
+ "kind": "DeleteOptions",
170
+ "version": "v2beta1"
171
+ },
172
+ {
173
+ "group": "autoscaling",
174
+ "kind": "DeleteOptions",
175
+ "version": "v2beta2"
176
+ },
177
+ {
178
+ "group": "batch",
179
+ "kind": "DeleteOptions",
180
+ "version": "v1"
181
+ },
182
+ {
183
+ "group": "batch",
184
+ "kind": "DeleteOptions",
185
+ "version": "v1beta1"
186
+ },
187
+ {
188
+ "group": "certificates.k8s.io",
189
+ "kind": "DeleteOptions",
190
+ "version": "v1"
191
+ },
192
+ {
193
+ "group": "certificates.k8s.io",
194
+ "kind": "DeleteOptions",
195
+ "version": "v1beta1"
196
+ },
197
+ {
198
+ "group": "coordination.k8s.io",
199
+ "kind": "DeleteOptions",
200
+ "version": "v1"
201
+ },
202
+ {
203
+ "group": "coordination.k8s.io",
204
+ "kind": "DeleteOptions",
205
+ "version": "v1beta1"
206
+ },
207
+ {
208
+ "group": "discovery.k8s.io",
209
+ "kind": "DeleteOptions",
210
+ "version": "v1"
211
+ },
212
+ {
213
+ "group": "discovery.k8s.io",
214
+ "kind": "DeleteOptions",
215
+ "version": "v1beta1"
216
+ },
217
+ {
218
+ "group": "events.k8s.io",
219
+ "kind": "DeleteOptions",
220
+ "version": "v1"
221
+ },
222
+ {
223
+ "group": "events.k8s.io",
224
+ "kind": "DeleteOptions",
225
+ "version": "v1beta1"
226
+ },
227
+ {
228
+ "group": "extensions",
229
+ "kind": "DeleteOptions",
230
+ "version": "v1beta1"
231
+ },
232
+ {
233
+ "group": "flowcontrol.apiserver.k8s.io",
234
+ "kind": "DeleteOptions",
235
+ "version": "v1alpha1"
236
+ },
237
+ {
238
+ "group": "flowcontrol.apiserver.k8s.io",
239
+ "kind": "DeleteOptions",
240
+ "version": "v1beta1"
241
+ },
242
+ {
243
+ "group": "imagepolicy.k8s.io",
244
+ "kind": "DeleteOptions",
245
+ "version": "v1alpha1"
246
+ },
247
+ {
248
+ "group": "internal.apiserver.k8s.io",
249
+ "kind": "DeleteOptions",
250
+ "version": "v1alpha1"
251
+ },
252
+ {
253
+ "group": "networking.k8s.io",
254
+ "kind": "DeleteOptions",
255
+ "version": "v1"
256
+ },
257
+ {
258
+ "group": "networking.k8s.io",
259
+ "kind": "DeleteOptions",
260
+ "version": "v1beta1"
261
+ },
262
+ {
263
+ "group": "node.k8s.io",
264
+ "kind": "DeleteOptions",
265
+ "version": "v1"
266
+ },
267
+ {
268
+ "group": "node.k8s.io",
269
+ "kind": "DeleteOptions",
270
+ "version": "v1alpha1"
271
+ },
272
+ {
273
+ "group": "node.k8s.io",
274
+ "kind": "DeleteOptions",
275
+ "version": "v1beta1"
276
+ },
277
+ {
278
+ "group": "policy",
279
+ "kind": "DeleteOptions",
280
+ "version": "v1"
281
+ },
282
+ {
283
+ "group": "policy",
284
+ "kind": "DeleteOptions",
285
+ "version": "v1beta1"
286
+ },
287
+ {
288
+ "group": "rbac.authorization.k8s.io",
289
+ "kind": "DeleteOptions",
290
+ "version": "v1"
291
+ },
292
+ {
293
+ "group": "rbac.authorization.k8s.io",
294
+ "kind": "DeleteOptions",
295
+ "version": "v1alpha1"
296
+ },
297
+ {
298
+ "group": "rbac.authorization.k8s.io",
299
+ "kind": "DeleteOptions",
300
+ "version": "v1beta1"
301
+ },
302
+ {
303
+ "group": "scheduling.k8s.io",
304
+ "kind": "DeleteOptions",
305
+ "version": "v1"
306
+ },
307
+ {
308
+ "group": "scheduling.k8s.io",
309
+ "kind": "DeleteOptions",
310
+ "version": "v1alpha1"
311
+ },
312
+ {
313
+ "group": "scheduling.k8s.io",
314
+ "kind": "DeleteOptions",
315
+ "version": "v1beta1"
316
+ },
317
+ {
318
+ "group": "storage.k8s.io",
319
+ "kind": "DeleteOptions",
320
+ "version": "v1"
321
+ },
322
+ {
323
+ "group": "storage.k8s.io",
324
+ "kind": "DeleteOptions",
325
+ "version": "v1alpha1"
326
+ },
327
+ {
328
+ "group": "storage.k8s.io",
329
+ "kind": "DeleteOptions",
330
+ "version": "v1beta1"
331
+ }
332
+ ],
333
+ "$schema": "http://json-schema.org/schema#"
334
+ }