kubernetes_schemas 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +8 -3
  3. data/lib/kubernetes_schemas/version.rb +1 -1
  4. data/lib/kubernetes_schemas.rb +2 -1
  5. data/schemas/1.22-strict/apigroup.json +123 -0
  6. data/schemas/1.22-strict/apigrouplist.json +161 -0
  7. data/schemas/1.22-strict/apiresourcelist.json +140 -0
  8. data/schemas/1.22-strict/apiservice.json +439 -0
  9. data/schemas/1.22-strict/apiservicelist.json +522 -0
  10. data/schemas/1.22-strict/apiversions.json +78 -0
  11. data/schemas/1.22-strict/binding.json +349 -0
  12. data/schemas/1.22-strict/certificatesigningrequest.json +464 -0
  13. data/schemas/1.22-strict/certificatesigningrequestlist.json +544 -0
  14. data/schemas/1.22-strict/clusterrole.json +453 -0
  15. data/schemas/1.22-strict/clusterrolebinding.json +361 -0
  16. data/schemas/1.22-strict/clusterrolebindinglist.json +441 -0
  17. data/schemas/1.22-strict/clusterrolelist.json +536 -0
  18. data/schemas/1.22-strict/componentstatus.json +331 -0
  19. data/schemas/1.22-strict/componentstatuslist.json +414 -0
  20. data/schemas/1.22-strict/configmap.json +320 -0
  21. data/schemas/1.22-strict/configmaplist.json +403 -0
  22. data/schemas/1.22-strict/controllerrevision.json +304 -0
  23. data/schemas/1.22-strict/controllerrevisionlist.json +384 -0
  24. data/schemas/1.22-strict/cronjob.json +9985 -0
  25. data/schemas/1.22-strict/cronjoblist.json +10068 -0
  26. data/schemas/1.22-strict/csidriver.json +381 -0
  27. data/schemas/1.22-strict/csidriverlist.json +461 -0
  28. data/schemas/1.22-strict/csinode.json +361 -0
  29. data/schemas/1.22-strict/csinodelist.json +441 -0
  30. data/schemas/1.22-strict/csistoragecapacity.json +396 -0
  31. data/schemas/1.22-strict/csistoragecapacitylist.json +480 -0
  32. data/schemas/1.22-strict/daemonset.json +9715 -0
  33. data/schemas/1.22-strict/daemonsetlist.json +9798 -0
  34. data/schemas/1.22-strict/deleteoptions.json +336 -0
  35. data/schemas/1.22-strict/deployment.json +9736 -0
  36. data/schemas/1.22-strict/deploymentlist.json +9819 -0
  37. data/schemas/1.22-strict/endpoints.json +548 -0
  38. data/schemas/1.22-strict/endpointslice.json +529 -0
  39. data/schemas/1.22-strict/endpointslicelist.json +606 -0
  40. data/schemas/1.22-strict/endpointslist.json +631 -0
  41. data/schemas/1.22-strict/event.json +531 -0
  42. data/schemas/1.22-strict/eventlist.json +611 -0
  43. data/schemas/1.22-strict/eviction.json +624 -0
  44. data/schemas/1.22-strict/flowschema.json +635 -0
  45. data/schemas/1.22-strict/flowschemalist.json +718 -0
  46. data/schemas/1.22-strict/horizontalpodautoscaler.json +1825 -0
  47. data/schemas/1.22-strict/horizontalpodautoscalerlist.json +1908 -0
  48. data/schemas/1.22-strict/ingress.json +659 -0
  49. data/schemas/1.22-strict/ingressclass.json +346 -0
  50. data/schemas/1.22-strict/ingressclasslist.json +429 -0
  51. data/schemas/1.22-strict/ingresslist.json +742 -0
  52. data/schemas/1.22-strict/job.json +9731 -0
  53. data/schemas/1.22-strict/joblist.json +9814 -0
  54. data/schemas/1.22-strict/lease.json +335 -0
  55. data/schemas/1.22-strict/leaselist.json +418 -0
  56. data/schemas/1.22-strict/limitrange.json +435 -0
  57. data/schemas/1.22-strict/limitrangelist.json +518 -0
  58. data/schemas/1.22-strict/localsubjectaccessreview.json +466 -0
  59. data/schemas/1.22-strict/mutatingwebhookconfiguration.json +629 -0
  60. data/schemas/1.22-strict/mutatingwebhookconfigurationlist.json +712 -0
  61. data/schemas/1.22-strict/namespace.json +377 -0
  62. data/schemas/1.22-strict/namespacelist.json +460 -0
  63. data/schemas/1.22-strict/networkpolicy.json +873 -0
  64. data/schemas/1.22-strict/networkpolicylist.json +956 -0
  65. data/schemas/1.22-strict/node.json +928 -0
  66. data/schemas/1.22-strict/nodelist.json +1011 -0
  67. data/schemas/1.22-strict/persistentvolume.json +1820 -0
  68. data/schemas/1.22-strict/persistentvolumeclaim.json +626 -0
  69. data/schemas/1.22-strict/persistentvolumeclaimlist.json +709 -0
  70. data/schemas/1.22-strict/persistentvolumelist.json +1903 -0
  71. data/schemas/1.22-strict/pod.json +10192 -0
  72. data/schemas/1.22-strict/poddisruptionbudget.json +514 -0
  73. data/schemas/1.22-strict/poddisruptionbudgetlist.json +597 -0
  74. data/schemas/1.22-strict/podlist.json +10275 -0
  75. data/schemas/1.22-strict/podsecuritypolicy.json +817 -0
  76. data/schemas/1.22-strict/podsecuritypolicylist.json +900 -0
  77. data/schemas/1.22-strict/podtemplate.json +9435 -0
  78. data/schemas/1.22-strict/podtemplatelist.json +9518 -0
  79. data/schemas/1.22-strict/priorityclass.json +318 -0
  80. data/schemas/1.22-strict/priorityclasslist.json +398 -0
  81. data/schemas/1.22-strict/prioritylevelconfiguration.json +455 -0
  82. data/schemas/1.22-strict/prioritylevelconfigurationlist.json +538 -0
  83. data/schemas/1.22-strict/replicaset.json +9632 -0
  84. data/schemas/1.22-strict/replicasetlist.json +9715 -0
  85. data/schemas/1.22-strict/replicationcontroller.json +9578 -0
  86. data/schemas/1.22-strict/replicationcontrollerlist.json +9661 -0
  87. data/schemas/1.22-strict/resourcequota.json +441 -0
  88. data/schemas/1.22-strict/resourcequotalist.json +524 -0
  89. data/schemas/1.22-strict/role.json +368 -0
  90. data/schemas/1.22-strict/rolebinding.json +361 -0
  91. data/schemas/1.22-strict/rolebindinglist.json +441 -0
  92. data/schemas/1.22-strict/rolelist.json +451 -0
  93. data/schemas/1.22-strict/runtimeclass.json +407 -0
  94. data/schemas/1.22-strict/runtimeclasslist.json +487 -0
  95. data/schemas/1.22-strict/scale.json +329 -0
  96. data/schemas/1.22-strict/secret.json +327 -0
  97. data/schemas/1.22-strict/secretlist.json +410 -0
  98. data/schemas/1.22-strict/selfsubjectaccessreview.json +420 -0
  99. data/schemas/1.22-strict/selfsubjectrulesreview.json +438 -0
  100. data/schemas/1.22-strict/service.json +701 -0
  101. data/schemas/1.22-strict/serviceaccount.json +387 -0
  102. data/schemas/1.22-strict/serviceaccountlist.json +470 -0
  103. data/schemas/1.22-strict/servicelist.json +784 -0
  104. data/schemas/1.22-strict/statefulset.json +10350 -0
  105. data/schemas/1.22-strict/statefulsetlist.json +10433 -0
  106. data/schemas/1.22-strict/status.json +184 -0
  107. data/schemas/1.22-strict/storageclass.json +397 -0
  108. data/schemas/1.22-strict/storageclasslist.json +477 -0
  109. data/schemas/1.22-strict/subjectaccessreview.json +466 -0
  110. data/schemas/1.22-strict/tokenreview.json +412 -0
  111. data/schemas/1.22-strict/validatingwebhookconfiguration.json +622 -0
  112. data/schemas/1.22-strict/validatingwebhookconfigurationlist.json +705 -0
  113. data/schemas/1.22-strict/volumeattachment.json +1909 -0
  114. data/schemas/1.22-strict/volumeattachmentlist.json +1989 -0
  115. data/schemas/1.22-strict/watchevent.json +277 -0
  116. metadata +112 -1
@@ -0,0 +1,626 @@
1
+ {
2
+ "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume",
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
+ "kind": {
13
+ "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",
14
+ "type": [
15
+ "string",
16
+ "null"
17
+ ],
18
+ "enum": [
19
+ "PersistentVolumeClaim"
20
+ ]
21
+ },
22
+ "metadata": {
23
+ "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
24
+ "type": [
25
+ "object",
26
+ "null"
27
+ ],
28
+ "properties": {
29
+ "annotations": {
30
+ "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
31
+ "type": [
32
+ "object",
33
+ "null"
34
+ ],
35
+ "additionalProperties": {
36
+ "type": [
37
+ "string",
38
+ "null"
39
+ ]
40
+ }
41
+ },
42
+ "clusterName": {
43
+ "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
44
+ "type": [
45
+ "string",
46
+ "null"
47
+ ]
48
+ },
49
+ "creationTimestamp": {
50
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
51
+ "type": [
52
+ "string",
53
+ "null"
54
+ ],
55
+ "format": "date-time"
56
+ },
57
+ "deletionGracePeriodSeconds": {
58
+ "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
59
+ "type": [
60
+ "integer",
61
+ "null"
62
+ ],
63
+ "format": "int64"
64
+ },
65
+ "deletionTimestamp": {
66
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
67
+ "type": [
68
+ "string",
69
+ "null"
70
+ ],
71
+ "format": "date-time"
72
+ },
73
+ "finalizers": {
74
+ "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
75
+ "type": [
76
+ "array",
77
+ "null"
78
+ ],
79
+ "items": {
80
+ "type": [
81
+ "string",
82
+ "null"
83
+ ]
84
+ },
85
+ "x-kubernetes-patch-strategy": "merge"
86
+ },
87
+ "generateName": {
88
+ "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
89
+ "type": [
90
+ "string",
91
+ "null"
92
+ ]
93
+ },
94
+ "generation": {
95
+ "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
96
+ "type": [
97
+ "integer",
98
+ "null"
99
+ ],
100
+ "format": "int64"
101
+ },
102
+ "labels": {
103
+ "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
104
+ "type": [
105
+ "object",
106
+ "null"
107
+ ],
108
+ "additionalProperties": {
109
+ "type": [
110
+ "string",
111
+ "null"
112
+ ]
113
+ }
114
+ },
115
+ "managedFields": {
116
+ "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
117
+ "type": [
118
+ "array",
119
+ "null"
120
+ ],
121
+ "items": {
122
+ "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
123
+ "type": [
124
+ "object",
125
+ "null"
126
+ ],
127
+ "properties": {
128
+ "apiVersion": {
129
+ "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
130
+ "type": [
131
+ "string",
132
+ "null"
133
+ ]
134
+ },
135
+ "fieldsType": {
136
+ "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
137
+ "type": [
138
+ "string",
139
+ "null"
140
+ ]
141
+ },
142
+ "fieldsV1": {
143
+ "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
144
+ "type": [
145
+ "object",
146
+ "null"
147
+ ]
148
+ },
149
+ "manager": {
150
+ "description": "Manager is an identifier of the workflow managing these fields.",
151
+ "type": [
152
+ "string",
153
+ "null"
154
+ ]
155
+ },
156
+ "operation": {
157
+ "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
158
+ "type": [
159
+ "string",
160
+ "null"
161
+ ]
162
+ },
163
+ "subresource": {
164
+ "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.",
165
+ "type": [
166
+ "string",
167
+ "null"
168
+ ]
169
+ },
170
+ "time": {
171
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
172
+ "type": [
173
+ "string",
174
+ "null"
175
+ ],
176
+ "format": "date-time"
177
+ }
178
+ },
179
+ "additionalProperties": false
180
+ }
181
+ },
182
+ "name": {
183
+ "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
184
+ "type": [
185
+ "string",
186
+ "null"
187
+ ]
188
+ },
189
+ "namespace": {
190
+ "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
191
+ "type": [
192
+ "string",
193
+ "null"
194
+ ]
195
+ },
196
+ "ownerReferences": {
197
+ "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
198
+ "type": [
199
+ "array",
200
+ "null"
201
+ ],
202
+ "items": {
203
+ "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
204
+ "type": [
205
+ "object",
206
+ "null"
207
+ ],
208
+ "required": [
209
+ "apiVersion",
210
+ "kind",
211
+ "name",
212
+ "uid"
213
+ ],
214
+ "properties": {
215
+ "apiVersion": {
216
+ "description": "API version of the referent.",
217
+ "type": "string"
218
+ },
219
+ "blockOwnerDeletion": {
220
+ "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
221
+ "type": [
222
+ "boolean",
223
+ "null"
224
+ ]
225
+ },
226
+ "controller": {
227
+ "description": "If true, this reference points to the managing controller.",
228
+ "type": [
229
+ "boolean",
230
+ "null"
231
+ ]
232
+ },
233
+ "kind": {
234
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
235
+ "type": "string"
236
+ },
237
+ "name": {
238
+ "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
239
+ "type": "string"
240
+ },
241
+ "uid": {
242
+ "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
243
+ "type": "string"
244
+ }
245
+ },
246
+ "x-kubernetes-map-type": "atomic",
247
+ "additionalProperties": false
248
+ },
249
+ "x-kubernetes-patch-merge-key": "uid",
250
+ "x-kubernetes-patch-strategy": "merge"
251
+ },
252
+ "resourceVersion": {
253
+ "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
254
+ "type": [
255
+ "string",
256
+ "null"
257
+ ]
258
+ },
259
+ "selfLink": {
260
+ "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
261
+ "type": [
262
+ "string",
263
+ "null"
264
+ ]
265
+ },
266
+ "uid": {
267
+ "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
268
+ "type": [
269
+ "string",
270
+ "null"
271
+ ]
272
+ }
273
+ },
274
+ "additionalProperties": false
275
+ },
276
+ "spec": {
277
+ "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
278
+ "type": [
279
+ "object",
280
+ "null"
281
+ ],
282
+ "properties": {
283
+ "accessModes": {
284
+ "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
285
+ "type": [
286
+ "array",
287
+ "null"
288
+ ],
289
+ "items": {
290
+ "type": [
291
+ "string",
292
+ "null"
293
+ ]
294
+ }
295
+ },
296
+ "dataSource": {
297
+ "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.",
298
+ "type": [
299
+ "object",
300
+ "null"
301
+ ],
302
+ "required": [
303
+ "kind",
304
+ "name"
305
+ ],
306
+ "properties": {
307
+ "apiGroup": {
308
+ "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
309
+ "type": [
310
+ "string",
311
+ "null"
312
+ ]
313
+ },
314
+ "kind": {
315
+ "description": "Kind is the type of resource being referenced",
316
+ "type": "string"
317
+ },
318
+ "name": {
319
+ "description": "Name is the name of resource being referenced",
320
+ "type": "string"
321
+ }
322
+ },
323
+ "x-kubernetes-map-type": "atomic",
324
+ "additionalProperties": false
325
+ },
326
+ "dataSourceRef": {
327
+ "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.",
328
+ "type": [
329
+ "object",
330
+ "null"
331
+ ],
332
+ "required": [
333
+ "kind",
334
+ "name"
335
+ ],
336
+ "properties": {
337
+ "apiGroup": {
338
+ "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
339
+ "type": [
340
+ "string",
341
+ "null"
342
+ ]
343
+ },
344
+ "kind": {
345
+ "description": "Kind is the type of resource being referenced",
346
+ "type": "string"
347
+ },
348
+ "name": {
349
+ "description": "Name is the name of resource being referenced",
350
+ "type": "string"
351
+ }
352
+ },
353
+ "x-kubernetes-map-type": "atomic",
354
+ "additionalProperties": false
355
+ },
356
+ "resources": {
357
+ "description": "ResourceRequirements describes the compute resource requirements.",
358
+ "type": [
359
+ "object",
360
+ "null"
361
+ ],
362
+ "properties": {
363
+ "limits": {
364
+ "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
365
+ "type": [
366
+ "object",
367
+ "null"
368
+ ],
369
+ "additionalProperties": {
370
+ "oneOf": [
371
+ {
372
+ "type": [
373
+ "string",
374
+ "null"
375
+ ]
376
+ },
377
+ {
378
+ "type": [
379
+ "number",
380
+ "null"
381
+ ]
382
+ }
383
+ ]
384
+ }
385
+ },
386
+ "requests": {
387
+ "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
388
+ "type": [
389
+ "object",
390
+ "null"
391
+ ],
392
+ "additionalProperties": {
393
+ "oneOf": [
394
+ {
395
+ "type": [
396
+ "string",
397
+ "null"
398
+ ]
399
+ },
400
+ {
401
+ "type": [
402
+ "number",
403
+ "null"
404
+ ]
405
+ }
406
+ ]
407
+ }
408
+ }
409
+ },
410
+ "additionalProperties": false
411
+ },
412
+ "selector": {
413
+ "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
414
+ "type": [
415
+ "object",
416
+ "null"
417
+ ],
418
+ "properties": {
419
+ "matchExpressions": {
420
+ "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
421
+ "type": [
422
+ "array",
423
+ "null"
424
+ ],
425
+ "items": {
426
+ "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
427
+ "type": [
428
+ "object",
429
+ "null"
430
+ ],
431
+ "required": [
432
+ "key",
433
+ "operator"
434
+ ],
435
+ "properties": {
436
+ "key": {
437
+ "description": "key is the label key that the selector applies to.",
438
+ "type": "string",
439
+ "x-kubernetes-patch-merge-key": "key",
440
+ "x-kubernetes-patch-strategy": "merge"
441
+ },
442
+ "operator": {
443
+ "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
444
+ "type": "string"
445
+ },
446
+ "values": {
447
+ "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
448
+ "type": [
449
+ "array",
450
+ "null"
451
+ ],
452
+ "items": {
453
+ "type": [
454
+ "string",
455
+ "null"
456
+ ]
457
+ }
458
+ }
459
+ },
460
+ "additionalProperties": false
461
+ }
462
+ },
463
+ "matchLabels": {
464
+ "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
465
+ "type": [
466
+ "object",
467
+ "null"
468
+ ],
469
+ "additionalProperties": {
470
+ "type": [
471
+ "string",
472
+ "null"
473
+ ]
474
+ }
475
+ }
476
+ },
477
+ "x-kubernetes-map-type": "atomic",
478
+ "additionalProperties": false
479
+ },
480
+ "storageClassName": {
481
+ "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
482
+ "type": [
483
+ "string",
484
+ "null"
485
+ ]
486
+ },
487
+ "volumeMode": {
488
+ "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.",
489
+ "type": [
490
+ "string",
491
+ "null"
492
+ ]
493
+ },
494
+ "volumeName": {
495
+ "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.",
496
+ "type": [
497
+ "string",
498
+ "null"
499
+ ]
500
+ }
501
+ },
502
+ "additionalProperties": false
503
+ },
504
+ "status": {
505
+ "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.",
506
+ "type": [
507
+ "object",
508
+ "null"
509
+ ],
510
+ "properties": {
511
+ "accessModes": {
512
+ "description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
513
+ "type": [
514
+ "array",
515
+ "null"
516
+ ],
517
+ "items": {
518
+ "type": [
519
+ "string",
520
+ "null"
521
+ ]
522
+ }
523
+ },
524
+ "capacity": {
525
+ "description": "Represents the actual resources of the underlying volume.",
526
+ "type": [
527
+ "object",
528
+ "null"
529
+ ],
530
+ "additionalProperties": {
531
+ "oneOf": [
532
+ {
533
+ "type": [
534
+ "string",
535
+ "null"
536
+ ]
537
+ },
538
+ {
539
+ "type": [
540
+ "number",
541
+ "null"
542
+ ]
543
+ }
544
+ ]
545
+ }
546
+ },
547
+ "conditions": {
548
+ "description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.",
549
+ "type": [
550
+ "array",
551
+ "null"
552
+ ],
553
+ "items": {
554
+ "description": "PersistentVolumeClaimCondition contails details about state of pvc",
555
+ "type": [
556
+ "object",
557
+ "null"
558
+ ],
559
+ "required": [
560
+ "type",
561
+ "status"
562
+ ],
563
+ "properties": {
564
+ "lastProbeTime": {
565
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
566
+ "type": [
567
+ "string",
568
+ "null"
569
+ ],
570
+ "format": "date-time"
571
+ },
572
+ "lastTransitionTime": {
573
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
574
+ "type": [
575
+ "string",
576
+ "null"
577
+ ],
578
+ "format": "date-time"
579
+ },
580
+ "message": {
581
+ "description": "Human-readable message indicating details about last transition.",
582
+ "type": [
583
+ "string",
584
+ "null"
585
+ ]
586
+ },
587
+ "reason": {
588
+ "description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.",
589
+ "type": [
590
+ "string",
591
+ "null"
592
+ ]
593
+ },
594
+ "status": {
595
+ "type": "string"
596
+ },
597
+ "type": {
598
+ "type": "string"
599
+ }
600
+ },
601
+ "additionalProperties": false
602
+ },
603
+ "x-kubernetes-patch-merge-key": "type",
604
+ "x-kubernetes-patch-strategy": "merge"
605
+ },
606
+ "phase": {
607
+ "description": "Phase represents the current phase of PersistentVolumeClaim.",
608
+ "type": [
609
+ "string",
610
+ "null"
611
+ ]
612
+ }
613
+ },
614
+ "additionalProperties": false
615
+ }
616
+ },
617
+ "x-kubernetes-group-version-kind": [
618
+ {
619
+ "group": "",
620
+ "kind": "PersistentVolumeClaim",
621
+ "version": "v1"
622
+ }
623
+ ],
624
+ "additionalProperties": false,
625
+ "$schema": "http://json-schema.org/schema#"
626
+ }