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,1989 @@
1
+ {
2
+ "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.",
3
+ "type": "object",
4
+ "required": [
5
+ "items"
6
+ ],
7
+ "properties": {
8
+ "apiVersion": {
9
+ "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",
10
+ "type": [
11
+ "string",
12
+ "null"
13
+ ]
14
+ },
15
+ "items": {
16
+ "description": "Items is the list of VolumeAttachments",
17
+ "type": [
18
+ "array",
19
+ "null"
20
+ ],
21
+ "items": {
22
+ "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.",
23
+ "type": [
24
+ "object",
25
+ "null"
26
+ ],
27
+ "required": [
28
+ "spec"
29
+ ],
30
+ "properties": {
31
+ "apiVersion": {
32
+ "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",
33
+ "type": [
34
+ "string",
35
+ "null"
36
+ ]
37
+ },
38
+ "kind": {
39
+ "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",
40
+ "type": [
41
+ "string",
42
+ "null"
43
+ ],
44
+ "enum": [
45
+ "VolumeAttachment"
46
+ ]
47
+ },
48
+ "metadata": {
49
+ "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
50
+ "type": [
51
+ "object",
52
+ "null"
53
+ ],
54
+ "properties": {
55
+ "annotations": {
56
+ "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",
57
+ "type": [
58
+ "object",
59
+ "null"
60
+ ],
61
+ "additionalProperties": {
62
+ "type": [
63
+ "string",
64
+ "null"
65
+ ]
66
+ }
67
+ },
68
+ "clusterName": {
69
+ "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.",
70
+ "type": [
71
+ "string",
72
+ "null"
73
+ ]
74
+ },
75
+ "creationTimestamp": {
76
+ "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.",
77
+ "type": [
78
+ "string",
79
+ "null"
80
+ ],
81
+ "format": "date-time"
82
+ },
83
+ "deletionGracePeriodSeconds": {
84
+ "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.",
85
+ "type": [
86
+ "integer",
87
+ "null"
88
+ ],
89
+ "format": "int64"
90
+ },
91
+ "deletionTimestamp": {
92
+ "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.",
93
+ "type": [
94
+ "string",
95
+ "null"
96
+ ],
97
+ "format": "date-time"
98
+ },
99
+ "finalizers": {
100
+ "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.",
101
+ "type": [
102
+ "array",
103
+ "null"
104
+ ],
105
+ "items": {
106
+ "type": [
107
+ "string",
108
+ "null"
109
+ ]
110
+ },
111
+ "x-kubernetes-patch-strategy": "merge"
112
+ },
113
+ "generateName": {
114
+ "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",
115
+ "type": [
116
+ "string",
117
+ "null"
118
+ ]
119
+ },
120
+ "generation": {
121
+ "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
122
+ "type": [
123
+ "integer",
124
+ "null"
125
+ ],
126
+ "format": "int64"
127
+ },
128
+ "labels": {
129
+ "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",
130
+ "type": [
131
+ "object",
132
+ "null"
133
+ ],
134
+ "additionalProperties": {
135
+ "type": [
136
+ "string",
137
+ "null"
138
+ ]
139
+ }
140
+ },
141
+ "managedFields": {
142
+ "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.",
143
+ "type": [
144
+ "array",
145
+ "null"
146
+ ],
147
+ "items": {
148
+ "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
149
+ "type": [
150
+ "object",
151
+ "null"
152
+ ],
153
+ "properties": {
154
+ "apiVersion": {
155
+ "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.",
156
+ "type": [
157
+ "string",
158
+ "null"
159
+ ]
160
+ },
161
+ "fieldsType": {
162
+ "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
163
+ "type": [
164
+ "string",
165
+ "null"
166
+ ]
167
+ },
168
+ "fieldsV1": {
169
+ "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",
170
+ "type": [
171
+ "object",
172
+ "null"
173
+ ]
174
+ },
175
+ "manager": {
176
+ "description": "Manager is an identifier of the workflow managing these fields.",
177
+ "type": [
178
+ "string",
179
+ "null"
180
+ ]
181
+ },
182
+ "operation": {
183
+ "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'.",
184
+ "type": [
185
+ "string",
186
+ "null"
187
+ ]
188
+ },
189
+ "subresource": {
190
+ "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.",
191
+ "type": [
192
+ "string",
193
+ "null"
194
+ ]
195
+ },
196
+ "time": {
197
+ "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.",
198
+ "type": [
199
+ "string",
200
+ "null"
201
+ ],
202
+ "format": "date-time"
203
+ }
204
+ },
205
+ "additionalProperties": false
206
+ }
207
+ },
208
+ "name": {
209
+ "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",
210
+ "type": [
211
+ "string",
212
+ "null"
213
+ ]
214
+ },
215
+ "namespace": {
216
+ "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",
217
+ "type": [
218
+ "string",
219
+ "null"
220
+ ]
221
+ },
222
+ "ownerReferences": {
223
+ "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.",
224
+ "type": [
225
+ "array",
226
+ "null"
227
+ ],
228
+ "items": {
229
+ "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.",
230
+ "type": [
231
+ "object",
232
+ "null"
233
+ ],
234
+ "required": [
235
+ "apiVersion",
236
+ "kind",
237
+ "name",
238
+ "uid"
239
+ ],
240
+ "properties": {
241
+ "apiVersion": {
242
+ "description": "API version of the referent.",
243
+ "type": "string"
244
+ },
245
+ "blockOwnerDeletion": {
246
+ "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.",
247
+ "type": [
248
+ "boolean",
249
+ "null"
250
+ ]
251
+ },
252
+ "controller": {
253
+ "description": "If true, this reference points to the managing controller.",
254
+ "type": [
255
+ "boolean",
256
+ "null"
257
+ ]
258
+ },
259
+ "kind": {
260
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
261
+ "type": "string"
262
+ },
263
+ "name": {
264
+ "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
265
+ "type": "string"
266
+ },
267
+ "uid": {
268
+ "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
269
+ "type": "string"
270
+ }
271
+ },
272
+ "x-kubernetes-map-type": "atomic",
273
+ "additionalProperties": false
274
+ },
275
+ "x-kubernetes-patch-merge-key": "uid",
276
+ "x-kubernetes-patch-strategy": "merge"
277
+ },
278
+ "resourceVersion": {
279
+ "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",
280
+ "type": [
281
+ "string",
282
+ "null"
283
+ ]
284
+ },
285
+ "selfLink": {
286
+ "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.",
287
+ "type": [
288
+ "string",
289
+ "null"
290
+ ]
291
+ },
292
+ "uid": {
293
+ "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",
294
+ "type": [
295
+ "string",
296
+ "null"
297
+ ]
298
+ }
299
+ },
300
+ "additionalProperties": false
301
+ },
302
+ "spec": {
303
+ "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.",
304
+ "type": "object",
305
+ "required": [
306
+ "attacher",
307
+ "source",
308
+ "nodeName"
309
+ ],
310
+ "properties": {
311
+ "attacher": {
312
+ "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
313
+ "type": "string"
314
+ },
315
+ "nodeName": {
316
+ "description": "The node that the volume should be attached to.",
317
+ "type": "string"
318
+ },
319
+ "source": {
320
+ "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
321
+ "type": "object",
322
+ "properties": {
323
+ "inlineVolumeSpec": {
324
+ "description": "PersistentVolumeSpec is the specification of a persistent volume.",
325
+ "type": [
326
+ "object",
327
+ "null"
328
+ ],
329
+ "properties": {
330
+ "accessModes": {
331
+ "description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes",
332
+ "type": [
333
+ "array",
334
+ "null"
335
+ ],
336
+ "items": {
337
+ "type": [
338
+ "string",
339
+ "null"
340
+ ]
341
+ }
342
+ },
343
+ "awsElasticBlockStore": {
344
+ "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.",
345
+ "type": [
346
+ "object",
347
+ "null"
348
+ ],
349
+ "required": [
350
+ "volumeID"
351
+ ],
352
+ "properties": {
353
+ "fsType": {
354
+ "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
355
+ "type": [
356
+ "string",
357
+ "null"
358
+ ]
359
+ },
360
+ "partition": {
361
+ "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).",
362
+ "type": [
363
+ "integer",
364
+ "null"
365
+ ],
366
+ "format": "int32"
367
+ },
368
+ "readOnly": {
369
+ "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
370
+ "type": [
371
+ "boolean",
372
+ "null"
373
+ ]
374
+ },
375
+ "volumeID": {
376
+ "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
377
+ "type": "string"
378
+ }
379
+ },
380
+ "additionalProperties": false
381
+ },
382
+ "azureDisk": {
383
+ "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
384
+ "type": [
385
+ "object",
386
+ "null"
387
+ ],
388
+ "required": [
389
+ "diskName",
390
+ "diskURI"
391
+ ],
392
+ "properties": {
393
+ "cachingMode": {
394
+ "description": "Host Caching mode: None, Read Only, Read Write.",
395
+ "type": [
396
+ "string",
397
+ "null"
398
+ ]
399
+ },
400
+ "diskName": {
401
+ "description": "The Name of the data disk in the blob storage",
402
+ "type": "string"
403
+ },
404
+ "diskURI": {
405
+ "description": "The URI the data disk in the blob storage",
406
+ "type": "string"
407
+ },
408
+ "fsType": {
409
+ "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
410
+ "type": [
411
+ "string",
412
+ "null"
413
+ ]
414
+ },
415
+ "kind": {
416
+ "description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared",
417
+ "type": [
418
+ "string",
419
+ "null"
420
+ ]
421
+ },
422
+ "readOnly": {
423
+ "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
424
+ "type": [
425
+ "boolean",
426
+ "null"
427
+ ]
428
+ }
429
+ },
430
+ "additionalProperties": false
431
+ },
432
+ "azureFile": {
433
+ "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
434
+ "type": [
435
+ "object",
436
+ "null"
437
+ ],
438
+ "required": [
439
+ "secretName",
440
+ "shareName"
441
+ ],
442
+ "properties": {
443
+ "readOnly": {
444
+ "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
445
+ "type": [
446
+ "boolean",
447
+ "null"
448
+ ]
449
+ },
450
+ "secretName": {
451
+ "description": "the name of secret that contains Azure Storage Account Name and Key",
452
+ "type": "string"
453
+ },
454
+ "secretNamespace": {
455
+ "description": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod",
456
+ "type": [
457
+ "string",
458
+ "null"
459
+ ]
460
+ },
461
+ "shareName": {
462
+ "description": "Share Name",
463
+ "type": "string"
464
+ }
465
+ },
466
+ "additionalProperties": false
467
+ },
468
+ "capacity": {
469
+ "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
470
+ "type": [
471
+ "object",
472
+ "null"
473
+ ],
474
+ "additionalProperties": {
475
+ "oneOf": [
476
+ {
477
+ "type": [
478
+ "string",
479
+ "null"
480
+ ]
481
+ },
482
+ {
483
+ "type": [
484
+ "number",
485
+ "null"
486
+ ]
487
+ }
488
+ ]
489
+ }
490
+ },
491
+ "cephfs": {
492
+ "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
493
+ "type": [
494
+ "object",
495
+ "null"
496
+ ],
497
+ "required": [
498
+ "monitors"
499
+ ],
500
+ "properties": {
501
+ "monitors": {
502
+ "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
503
+ "type": "array",
504
+ "items": {
505
+ "type": [
506
+ "string",
507
+ "null"
508
+ ]
509
+ }
510
+ },
511
+ "path": {
512
+ "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
513
+ "type": [
514
+ "string",
515
+ "null"
516
+ ]
517
+ },
518
+ "readOnly": {
519
+ "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
520
+ "type": [
521
+ "boolean",
522
+ "null"
523
+ ]
524
+ },
525
+ "secretFile": {
526
+ "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
527
+ "type": [
528
+ "string",
529
+ "null"
530
+ ]
531
+ },
532
+ "secretRef": {
533
+ "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
534
+ "type": [
535
+ "object",
536
+ "null"
537
+ ],
538
+ "properties": {
539
+ "name": {
540
+ "description": "Name is unique within a namespace to reference a secret resource.",
541
+ "type": [
542
+ "string",
543
+ "null"
544
+ ]
545
+ },
546
+ "namespace": {
547
+ "description": "Namespace defines the space within which the secret name must be unique.",
548
+ "type": [
549
+ "string",
550
+ "null"
551
+ ]
552
+ }
553
+ },
554
+ "x-kubernetes-map-type": "atomic",
555
+ "additionalProperties": false
556
+ },
557
+ "user": {
558
+ "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
559
+ "type": [
560
+ "string",
561
+ "null"
562
+ ]
563
+ }
564
+ },
565
+ "additionalProperties": false
566
+ },
567
+ "cinder": {
568
+ "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
569
+ "type": [
570
+ "object",
571
+ "null"
572
+ ],
573
+ "required": [
574
+ "volumeID"
575
+ ],
576
+ "properties": {
577
+ "fsType": {
578
+ "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
579
+ "type": [
580
+ "string",
581
+ "null"
582
+ ]
583
+ },
584
+ "readOnly": {
585
+ "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
586
+ "type": [
587
+ "boolean",
588
+ "null"
589
+ ]
590
+ },
591
+ "secretRef": {
592
+ "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
593
+ "type": [
594
+ "object",
595
+ "null"
596
+ ],
597
+ "properties": {
598
+ "name": {
599
+ "description": "Name is unique within a namespace to reference a secret resource.",
600
+ "type": [
601
+ "string",
602
+ "null"
603
+ ]
604
+ },
605
+ "namespace": {
606
+ "description": "Namespace defines the space within which the secret name must be unique.",
607
+ "type": [
608
+ "string",
609
+ "null"
610
+ ]
611
+ }
612
+ },
613
+ "x-kubernetes-map-type": "atomic",
614
+ "additionalProperties": false
615
+ },
616
+ "volumeID": {
617
+ "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
618
+ "type": "string"
619
+ }
620
+ },
621
+ "additionalProperties": false
622
+ },
623
+ "claimRef": {
624
+ "description": "ObjectReference contains enough information to let you inspect or modify the referred object.",
625
+ "type": [
626
+ "object",
627
+ "null"
628
+ ],
629
+ "properties": {
630
+ "apiVersion": {
631
+ "description": "API version of the referent.",
632
+ "type": [
633
+ "string",
634
+ "null"
635
+ ]
636
+ },
637
+ "fieldPath": {
638
+ "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.",
639
+ "type": [
640
+ "string",
641
+ "null"
642
+ ]
643
+ },
644
+ "kind": {
645
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
646
+ "type": [
647
+ "string",
648
+ "null"
649
+ ]
650
+ },
651
+ "name": {
652
+ "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
653
+ "type": [
654
+ "string",
655
+ "null"
656
+ ]
657
+ },
658
+ "namespace": {
659
+ "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
660
+ "type": [
661
+ "string",
662
+ "null"
663
+ ]
664
+ },
665
+ "resourceVersion": {
666
+ "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
667
+ "type": [
668
+ "string",
669
+ "null"
670
+ ]
671
+ },
672
+ "uid": {
673
+ "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids",
674
+ "type": [
675
+ "string",
676
+ "null"
677
+ ]
678
+ }
679
+ },
680
+ "x-kubernetes-map-type": "atomic",
681
+ "additionalProperties": false
682
+ },
683
+ "csi": {
684
+ "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)",
685
+ "type": [
686
+ "object",
687
+ "null"
688
+ ],
689
+ "required": [
690
+ "driver",
691
+ "volumeHandle"
692
+ ],
693
+ "properties": {
694
+ "controllerExpandSecretRef": {
695
+ "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
696
+ "type": [
697
+ "object",
698
+ "null"
699
+ ],
700
+ "properties": {
701
+ "name": {
702
+ "description": "Name is unique within a namespace to reference a secret resource.",
703
+ "type": [
704
+ "string",
705
+ "null"
706
+ ]
707
+ },
708
+ "namespace": {
709
+ "description": "Namespace defines the space within which the secret name must be unique.",
710
+ "type": [
711
+ "string",
712
+ "null"
713
+ ]
714
+ }
715
+ },
716
+ "x-kubernetes-map-type": "atomic",
717
+ "additionalProperties": false
718
+ },
719
+ "controllerPublishSecretRef": {
720
+ "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
721
+ "type": [
722
+ "object",
723
+ "null"
724
+ ],
725
+ "properties": {
726
+ "name": {
727
+ "description": "Name is unique within a namespace to reference a secret resource.",
728
+ "type": [
729
+ "string",
730
+ "null"
731
+ ]
732
+ },
733
+ "namespace": {
734
+ "description": "Namespace defines the space within which the secret name must be unique.",
735
+ "type": [
736
+ "string",
737
+ "null"
738
+ ]
739
+ }
740
+ },
741
+ "x-kubernetes-map-type": "atomic",
742
+ "additionalProperties": false
743
+ },
744
+ "driver": {
745
+ "description": "Driver is the name of the driver to use for this volume. Required.",
746
+ "type": "string"
747
+ },
748
+ "fsType": {
749
+ "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
750
+ "type": [
751
+ "string",
752
+ "null"
753
+ ]
754
+ },
755
+ "nodePublishSecretRef": {
756
+ "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
757
+ "type": [
758
+ "object",
759
+ "null"
760
+ ],
761
+ "properties": {
762
+ "name": {
763
+ "description": "Name is unique within a namespace to reference a secret resource.",
764
+ "type": [
765
+ "string",
766
+ "null"
767
+ ]
768
+ },
769
+ "namespace": {
770
+ "description": "Namespace defines the space within which the secret name must be unique.",
771
+ "type": [
772
+ "string",
773
+ "null"
774
+ ]
775
+ }
776
+ },
777
+ "x-kubernetes-map-type": "atomic",
778
+ "additionalProperties": false
779
+ },
780
+ "nodeStageSecretRef": {
781
+ "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
782
+ "type": [
783
+ "object",
784
+ "null"
785
+ ],
786
+ "properties": {
787
+ "name": {
788
+ "description": "Name is unique within a namespace to reference a secret resource.",
789
+ "type": [
790
+ "string",
791
+ "null"
792
+ ]
793
+ },
794
+ "namespace": {
795
+ "description": "Namespace defines the space within which the secret name must be unique.",
796
+ "type": [
797
+ "string",
798
+ "null"
799
+ ]
800
+ }
801
+ },
802
+ "x-kubernetes-map-type": "atomic",
803
+ "additionalProperties": false
804
+ },
805
+ "readOnly": {
806
+ "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
807
+ "type": [
808
+ "boolean",
809
+ "null"
810
+ ]
811
+ },
812
+ "volumeAttributes": {
813
+ "description": "Attributes of the volume to publish.",
814
+ "type": [
815
+ "object",
816
+ "null"
817
+ ],
818
+ "additionalProperties": {
819
+ "type": [
820
+ "string",
821
+ "null"
822
+ ]
823
+ }
824
+ },
825
+ "volumeHandle": {
826
+ "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin\u2019s CreateVolume to refer to the volume on all subsequent calls. Required.",
827
+ "type": "string"
828
+ }
829
+ },
830
+ "additionalProperties": false
831
+ },
832
+ "fc": {
833
+ "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.",
834
+ "type": [
835
+ "object",
836
+ "null"
837
+ ],
838
+ "properties": {
839
+ "fsType": {
840
+ "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
841
+ "type": [
842
+ "string",
843
+ "null"
844
+ ]
845
+ },
846
+ "lun": {
847
+ "description": "Optional: FC target lun number",
848
+ "type": [
849
+ "integer",
850
+ "null"
851
+ ],
852
+ "format": "int32"
853
+ },
854
+ "readOnly": {
855
+ "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
856
+ "type": [
857
+ "boolean",
858
+ "null"
859
+ ]
860
+ },
861
+ "targetWWNs": {
862
+ "description": "Optional: FC target worldwide names (WWNs)",
863
+ "type": [
864
+ "array",
865
+ "null"
866
+ ],
867
+ "items": {
868
+ "type": [
869
+ "string",
870
+ "null"
871
+ ]
872
+ }
873
+ },
874
+ "wwids": {
875
+ "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.",
876
+ "type": [
877
+ "array",
878
+ "null"
879
+ ],
880
+ "items": {
881
+ "type": [
882
+ "string",
883
+ "null"
884
+ ]
885
+ }
886
+ }
887
+ },
888
+ "additionalProperties": false
889
+ },
890
+ "flexVolume": {
891
+ "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.",
892
+ "type": [
893
+ "object",
894
+ "null"
895
+ ],
896
+ "required": [
897
+ "driver"
898
+ ],
899
+ "properties": {
900
+ "driver": {
901
+ "description": "Driver is the name of the driver to use for this volume.",
902
+ "type": "string"
903
+ },
904
+ "fsType": {
905
+ "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.",
906
+ "type": [
907
+ "string",
908
+ "null"
909
+ ]
910
+ },
911
+ "options": {
912
+ "description": "Optional: Extra command options if any.",
913
+ "type": [
914
+ "object",
915
+ "null"
916
+ ],
917
+ "additionalProperties": {
918
+ "type": [
919
+ "string",
920
+ "null"
921
+ ]
922
+ }
923
+ },
924
+ "readOnly": {
925
+ "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
926
+ "type": [
927
+ "boolean",
928
+ "null"
929
+ ]
930
+ },
931
+ "secretRef": {
932
+ "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
933
+ "type": [
934
+ "object",
935
+ "null"
936
+ ],
937
+ "properties": {
938
+ "name": {
939
+ "description": "Name is unique within a namespace to reference a secret resource.",
940
+ "type": [
941
+ "string",
942
+ "null"
943
+ ]
944
+ },
945
+ "namespace": {
946
+ "description": "Namespace defines the space within which the secret name must be unique.",
947
+ "type": [
948
+ "string",
949
+ "null"
950
+ ]
951
+ }
952
+ },
953
+ "x-kubernetes-map-type": "atomic",
954
+ "additionalProperties": false
955
+ }
956
+ },
957
+ "additionalProperties": false
958
+ },
959
+ "flocker": {
960
+ "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.",
961
+ "type": [
962
+ "object",
963
+ "null"
964
+ ],
965
+ "properties": {
966
+ "datasetName": {
967
+ "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated",
968
+ "type": [
969
+ "string",
970
+ "null"
971
+ ]
972
+ },
973
+ "datasetUUID": {
974
+ "description": "UUID of the dataset. This is unique identifier of a Flocker dataset",
975
+ "type": [
976
+ "string",
977
+ "null"
978
+ ]
979
+ }
980
+ },
981
+ "additionalProperties": false
982
+ },
983
+ "gcePersistentDisk": {
984
+ "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.",
985
+ "type": [
986
+ "object",
987
+ "null"
988
+ ],
989
+ "required": [
990
+ "pdName"
991
+ ],
992
+ "properties": {
993
+ "fsType": {
994
+ "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
995
+ "type": [
996
+ "string",
997
+ "null"
998
+ ]
999
+ },
1000
+ "partition": {
1001
+ "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
1002
+ "type": [
1003
+ "integer",
1004
+ "null"
1005
+ ],
1006
+ "format": "int32"
1007
+ },
1008
+ "pdName": {
1009
+ "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
1010
+ "type": "string"
1011
+ },
1012
+ "readOnly": {
1013
+ "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
1014
+ "type": [
1015
+ "boolean",
1016
+ "null"
1017
+ ]
1018
+ }
1019
+ },
1020
+ "additionalProperties": false
1021
+ },
1022
+ "glusterfs": {
1023
+ "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
1024
+ "type": [
1025
+ "object",
1026
+ "null"
1027
+ ],
1028
+ "required": [
1029
+ "endpoints",
1030
+ "path"
1031
+ ],
1032
+ "properties": {
1033
+ "endpoints": {
1034
+ "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
1035
+ "type": "string"
1036
+ },
1037
+ "endpointsNamespace": {
1038
+ "description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
1039
+ "type": [
1040
+ "string",
1041
+ "null"
1042
+ ]
1043
+ },
1044
+ "path": {
1045
+ "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
1046
+ "type": "string"
1047
+ },
1048
+ "readOnly": {
1049
+ "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
1050
+ "type": [
1051
+ "boolean",
1052
+ "null"
1053
+ ]
1054
+ }
1055
+ },
1056
+ "additionalProperties": false
1057
+ },
1058
+ "hostPath": {
1059
+ "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.",
1060
+ "type": [
1061
+ "object",
1062
+ "null"
1063
+ ],
1064
+ "required": [
1065
+ "path"
1066
+ ],
1067
+ "properties": {
1068
+ "path": {
1069
+ "description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
1070
+ "type": "string"
1071
+ },
1072
+ "type": {
1073
+ "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
1074
+ "type": [
1075
+ "string",
1076
+ "null"
1077
+ ]
1078
+ }
1079
+ },
1080
+ "additionalProperties": false
1081
+ },
1082
+ "iscsi": {
1083
+ "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
1084
+ "type": [
1085
+ "object",
1086
+ "null"
1087
+ ],
1088
+ "required": [
1089
+ "targetPortal",
1090
+ "iqn",
1091
+ "lun"
1092
+ ],
1093
+ "properties": {
1094
+ "chapAuthDiscovery": {
1095
+ "description": "whether support iSCSI Discovery CHAP authentication",
1096
+ "type": [
1097
+ "boolean",
1098
+ "null"
1099
+ ]
1100
+ },
1101
+ "chapAuthSession": {
1102
+ "description": "whether support iSCSI Session CHAP authentication",
1103
+ "type": [
1104
+ "boolean",
1105
+ "null"
1106
+ ]
1107
+ },
1108
+ "fsType": {
1109
+ "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi",
1110
+ "type": [
1111
+ "string",
1112
+ "null"
1113
+ ]
1114
+ },
1115
+ "initiatorName": {
1116
+ "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.",
1117
+ "type": [
1118
+ "string",
1119
+ "null"
1120
+ ]
1121
+ },
1122
+ "iqn": {
1123
+ "description": "Target iSCSI Qualified Name.",
1124
+ "type": "string"
1125
+ },
1126
+ "iscsiInterface": {
1127
+ "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
1128
+ "type": [
1129
+ "string",
1130
+ "null"
1131
+ ]
1132
+ },
1133
+ "lun": {
1134
+ "description": "iSCSI Target Lun number.",
1135
+ "type": "integer",
1136
+ "format": "int32"
1137
+ },
1138
+ "portals": {
1139
+ "description": "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
1140
+ "type": [
1141
+ "array",
1142
+ "null"
1143
+ ],
1144
+ "items": {
1145
+ "type": [
1146
+ "string",
1147
+ "null"
1148
+ ]
1149
+ }
1150
+ },
1151
+ "readOnly": {
1152
+ "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.",
1153
+ "type": [
1154
+ "boolean",
1155
+ "null"
1156
+ ]
1157
+ },
1158
+ "secretRef": {
1159
+ "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
1160
+ "type": [
1161
+ "object",
1162
+ "null"
1163
+ ],
1164
+ "properties": {
1165
+ "name": {
1166
+ "description": "Name is unique within a namespace to reference a secret resource.",
1167
+ "type": [
1168
+ "string",
1169
+ "null"
1170
+ ]
1171
+ },
1172
+ "namespace": {
1173
+ "description": "Namespace defines the space within which the secret name must be unique.",
1174
+ "type": [
1175
+ "string",
1176
+ "null"
1177
+ ]
1178
+ }
1179
+ },
1180
+ "x-kubernetes-map-type": "atomic",
1181
+ "additionalProperties": false
1182
+ },
1183
+ "targetPortal": {
1184
+ "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
1185
+ "type": "string"
1186
+ }
1187
+ },
1188
+ "additionalProperties": false
1189
+ },
1190
+ "local": {
1191
+ "description": "Local represents directly-attached storage with node affinity (Beta feature)",
1192
+ "type": [
1193
+ "object",
1194
+ "null"
1195
+ ],
1196
+ "required": [
1197
+ "path"
1198
+ ],
1199
+ "properties": {
1200
+ "fsType": {
1201
+ "description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified.",
1202
+ "type": [
1203
+ "string",
1204
+ "null"
1205
+ ]
1206
+ },
1207
+ "path": {
1208
+ "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).",
1209
+ "type": "string"
1210
+ }
1211
+ },
1212
+ "additionalProperties": false
1213
+ },
1214
+ "mountOptions": {
1215
+ "description": "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options",
1216
+ "type": [
1217
+ "array",
1218
+ "null"
1219
+ ],
1220
+ "items": {
1221
+ "type": [
1222
+ "string",
1223
+ "null"
1224
+ ]
1225
+ }
1226
+ },
1227
+ "nfs": {
1228
+ "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.",
1229
+ "type": [
1230
+ "object",
1231
+ "null"
1232
+ ],
1233
+ "required": [
1234
+ "server",
1235
+ "path"
1236
+ ],
1237
+ "properties": {
1238
+ "path": {
1239
+ "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
1240
+ "type": "string"
1241
+ },
1242
+ "readOnly": {
1243
+ "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
1244
+ "type": [
1245
+ "boolean",
1246
+ "null"
1247
+ ]
1248
+ },
1249
+ "server": {
1250
+ "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
1251
+ "type": "string"
1252
+ }
1253
+ },
1254
+ "additionalProperties": false
1255
+ },
1256
+ "nodeAffinity": {
1257
+ "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.",
1258
+ "type": [
1259
+ "object",
1260
+ "null"
1261
+ ],
1262
+ "properties": {
1263
+ "required": {
1264
+ "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.",
1265
+ "type": [
1266
+ "object",
1267
+ "null"
1268
+ ],
1269
+ "required": [
1270
+ "nodeSelectorTerms"
1271
+ ],
1272
+ "properties": {
1273
+ "nodeSelectorTerms": {
1274
+ "description": "Required. A list of node selector terms. The terms are ORed.",
1275
+ "type": "array",
1276
+ "items": {
1277
+ "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.",
1278
+ "type": [
1279
+ "object",
1280
+ "null"
1281
+ ],
1282
+ "properties": {
1283
+ "matchExpressions": {
1284
+ "description": "A list of node selector requirements by node's labels.",
1285
+ "type": [
1286
+ "array",
1287
+ "null"
1288
+ ],
1289
+ "items": {
1290
+ "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
1291
+ "type": [
1292
+ "object",
1293
+ "null"
1294
+ ],
1295
+ "required": [
1296
+ "key",
1297
+ "operator"
1298
+ ],
1299
+ "properties": {
1300
+ "key": {
1301
+ "description": "The label key that the selector applies to.",
1302
+ "type": "string"
1303
+ },
1304
+ "operator": {
1305
+ "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
1306
+ "type": "string"
1307
+ },
1308
+ "values": {
1309
+ "description": "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. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
1310
+ "type": [
1311
+ "array",
1312
+ "null"
1313
+ ],
1314
+ "items": {
1315
+ "type": [
1316
+ "string",
1317
+ "null"
1318
+ ]
1319
+ }
1320
+ }
1321
+ },
1322
+ "additionalProperties": false
1323
+ }
1324
+ },
1325
+ "matchFields": {
1326
+ "description": "A list of node selector requirements by node's fields.",
1327
+ "type": [
1328
+ "array",
1329
+ "null"
1330
+ ],
1331
+ "items": {
1332
+ "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
1333
+ "type": [
1334
+ "object",
1335
+ "null"
1336
+ ],
1337
+ "required": [
1338
+ "key",
1339
+ "operator"
1340
+ ],
1341
+ "properties": {
1342
+ "key": {
1343
+ "description": "The label key that the selector applies to.",
1344
+ "type": "string"
1345
+ },
1346
+ "operator": {
1347
+ "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
1348
+ "type": "string"
1349
+ },
1350
+ "values": {
1351
+ "description": "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. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
1352
+ "type": [
1353
+ "array",
1354
+ "null"
1355
+ ],
1356
+ "items": {
1357
+ "type": [
1358
+ "string",
1359
+ "null"
1360
+ ]
1361
+ }
1362
+ }
1363
+ },
1364
+ "additionalProperties": false
1365
+ }
1366
+ }
1367
+ },
1368
+ "x-kubernetes-map-type": "atomic",
1369
+ "additionalProperties": false
1370
+ }
1371
+ }
1372
+ },
1373
+ "x-kubernetes-map-type": "atomic",
1374
+ "additionalProperties": false
1375
+ }
1376
+ },
1377
+ "additionalProperties": false
1378
+ },
1379
+ "persistentVolumeReclaimPolicy": {
1380
+ "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming",
1381
+ "type": [
1382
+ "string",
1383
+ "null"
1384
+ ]
1385
+ },
1386
+ "photonPersistentDisk": {
1387
+ "description": "Represents a Photon Controller persistent disk resource.",
1388
+ "type": [
1389
+ "object",
1390
+ "null"
1391
+ ],
1392
+ "required": [
1393
+ "pdID"
1394
+ ],
1395
+ "properties": {
1396
+ "fsType": {
1397
+ "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
1398
+ "type": [
1399
+ "string",
1400
+ "null"
1401
+ ]
1402
+ },
1403
+ "pdID": {
1404
+ "description": "ID that identifies Photon Controller persistent disk",
1405
+ "type": "string"
1406
+ }
1407
+ },
1408
+ "additionalProperties": false
1409
+ },
1410
+ "portworxVolume": {
1411
+ "description": "PortworxVolumeSource represents a Portworx volume resource.",
1412
+ "type": [
1413
+ "object",
1414
+ "null"
1415
+ ],
1416
+ "required": [
1417
+ "volumeID"
1418
+ ],
1419
+ "properties": {
1420
+ "fsType": {
1421
+ "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.",
1422
+ "type": [
1423
+ "string",
1424
+ "null"
1425
+ ]
1426
+ },
1427
+ "readOnly": {
1428
+ "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
1429
+ "type": [
1430
+ "boolean",
1431
+ "null"
1432
+ ]
1433
+ },
1434
+ "volumeID": {
1435
+ "description": "VolumeID uniquely identifies a Portworx volume",
1436
+ "type": "string"
1437
+ }
1438
+ },
1439
+ "additionalProperties": false
1440
+ },
1441
+ "quobyte": {
1442
+ "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.",
1443
+ "type": [
1444
+ "object",
1445
+ "null"
1446
+ ],
1447
+ "required": [
1448
+ "registry",
1449
+ "volume"
1450
+ ],
1451
+ "properties": {
1452
+ "group": {
1453
+ "description": "Group to map volume access to Default is no group",
1454
+ "type": [
1455
+ "string",
1456
+ "null"
1457
+ ]
1458
+ },
1459
+ "readOnly": {
1460
+ "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.",
1461
+ "type": [
1462
+ "boolean",
1463
+ "null"
1464
+ ]
1465
+ },
1466
+ "registry": {
1467
+ "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes",
1468
+ "type": "string"
1469
+ },
1470
+ "tenant": {
1471
+ "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin",
1472
+ "type": [
1473
+ "string",
1474
+ "null"
1475
+ ]
1476
+ },
1477
+ "user": {
1478
+ "description": "User to map volume access to Defaults to serivceaccount user",
1479
+ "type": [
1480
+ "string",
1481
+ "null"
1482
+ ]
1483
+ },
1484
+ "volume": {
1485
+ "description": "Volume is a string that references an already created Quobyte volume by name.",
1486
+ "type": "string"
1487
+ }
1488
+ },
1489
+ "additionalProperties": false
1490
+ },
1491
+ "rbd": {
1492
+ "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
1493
+ "type": [
1494
+ "object",
1495
+ "null"
1496
+ ],
1497
+ "required": [
1498
+ "monitors",
1499
+ "image"
1500
+ ],
1501
+ "properties": {
1502
+ "fsType": {
1503
+ "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd",
1504
+ "type": [
1505
+ "string",
1506
+ "null"
1507
+ ]
1508
+ },
1509
+ "image": {
1510
+ "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
1511
+ "type": "string"
1512
+ },
1513
+ "keyring": {
1514
+ "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
1515
+ "type": [
1516
+ "string",
1517
+ "null"
1518
+ ]
1519
+ },
1520
+ "monitors": {
1521
+ "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
1522
+ "type": "array",
1523
+ "items": {
1524
+ "type": [
1525
+ "string",
1526
+ "null"
1527
+ ]
1528
+ }
1529
+ },
1530
+ "pool": {
1531
+ "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
1532
+ "type": [
1533
+ "string",
1534
+ "null"
1535
+ ]
1536
+ },
1537
+ "readOnly": {
1538
+ "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
1539
+ "type": [
1540
+ "boolean",
1541
+ "null"
1542
+ ]
1543
+ },
1544
+ "secretRef": {
1545
+ "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
1546
+ "type": [
1547
+ "object",
1548
+ "null"
1549
+ ],
1550
+ "properties": {
1551
+ "name": {
1552
+ "description": "Name is unique within a namespace to reference a secret resource.",
1553
+ "type": [
1554
+ "string",
1555
+ "null"
1556
+ ]
1557
+ },
1558
+ "namespace": {
1559
+ "description": "Namespace defines the space within which the secret name must be unique.",
1560
+ "type": [
1561
+ "string",
1562
+ "null"
1563
+ ]
1564
+ }
1565
+ },
1566
+ "x-kubernetes-map-type": "atomic",
1567
+ "additionalProperties": false
1568
+ },
1569
+ "user": {
1570
+ "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
1571
+ "type": [
1572
+ "string",
1573
+ "null"
1574
+ ]
1575
+ }
1576
+ },
1577
+ "additionalProperties": false
1578
+ },
1579
+ "scaleIO": {
1580
+ "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume",
1581
+ "type": [
1582
+ "object",
1583
+ "null"
1584
+ ],
1585
+ "required": [
1586
+ "gateway",
1587
+ "system",
1588
+ "secretRef"
1589
+ ],
1590
+ "properties": {
1591
+ "fsType": {
1592
+ "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"",
1593
+ "type": [
1594
+ "string",
1595
+ "null"
1596
+ ]
1597
+ },
1598
+ "gateway": {
1599
+ "description": "The host address of the ScaleIO API Gateway.",
1600
+ "type": "string"
1601
+ },
1602
+ "protectionDomain": {
1603
+ "description": "The name of the ScaleIO Protection Domain for the configured storage.",
1604
+ "type": [
1605
+ "string",
1606
+ "null"
1607
+ ]
1608
+ },
1609
+ "readOnly": {
1610
+ "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
1611
+ "type": [
1612
+ "boolean",
1613
+ "null"
1614
+ ]
1615
+ },
1616
+ "secretRef": {
1617
+ "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
1618
+ "type": "object",
1619
+ "properties": {
1620
+ "name": {
1621
+ "description": "Name is unique within a namespace to reference a secret resource.",
1622
+ "type": [
1623
+ "string",
1624
+ "null"
1625
+ ]
1626
+ },
1627
+ "namespace": {
1628
+ "description": "Namespace defines the space within which the secret name must be unique.",
1629
+ "type": [
1630
+ "string",
1631
+ "null"
1632
+ ]
1633
+ }
1634
+ },
1635
+ "x-kubernetes-map-type": "atomic",
1636
+ "additionalProperties": false
1637
+ },
1638
+ "sslEnabled": {
1639
+ "description": "Flag to enable/disable SSL communication with Gateway, default false",
1640
+ "type": [
1641
+ "boolean",
1642
+ "null"
1643
+ ]
1644
+ },
1645
+ "storageMode": {
1646
+ "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
1647
+ "type": [
1648
+ "string",
1649
+ "null"
1650
+ ]
1651
+ },
1652
+ "storagePool": {
1653
+ "description": "The ScaleIO Storage Pool associated with the protection domain.",
1654
+ "type": [
1655
+ "string",
1656
+ "null"
1657
+ ]
1658
+ },
1659
+ "system": {
1660
+ "description": "The name of the storage system as configured in ScaleIO.",
1661
+ "type": "string"
1662
+ },
1663
+ "volumeName": {
1664
+ "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.",
1665
+ "type": [
1666
+ "string",
1667
+ "null"
1668
+ ]
1669
+ }
1670
+ },
1671
+ "additionalProperties": false
1672
+ },
1673
+ "storageClassName": {
1674
+ "description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
1675
+ "type": [
1676
+ "string",
1677
+ "null"
1678
+ ]
1679
+ },
1680
+ "storageos": {
1681
+ "description": "Represents a StorageOS persistent volume resource.",
1682
+ "type": [
1683
+ "object",
1684
+ "null"
1685
+ ],
1686
+ "properties": {
1687
+ "fsType": {
1688
+ "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
1689
+ "type": [
1690
+ "string",
1691
+ "null"
1692
+ ]
1693
+ },
1694
+ "readOnly": {
1695
+ "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
1696
+ "type": [
1697
+ "boolean",
1698
+ "null"
1699
+ ]
1700
+ },
1701
+ "secretRef": {
1702
+ "description": "ObjectReference contains enough information to let you inspect or modify the referred object.",
1703
+ "type": [
1704
+ "object",
1705
+ "null"
1706
+ ],
1707
+ "properties": {
1708
+ "apiVersion": {
1709
+ "description": "API version of the referent.",
1710
+ "type": [
1711
+ "string",
1712
+ "null"
1713
+ ]
1714
+ },
1715
+ "fieldPath": {
1716
+ "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.",
1717
+ "type": [
1718
+ "string",
1719
+ "null"
1720
+ ]
1721
+ },
1722
+ "kind": {
1723
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
1724
+ "type": [
1725
+ "string",
1726
+ "null"
1727
+ ]
1728
+ },
1729
+ "name": {
1730
+ "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
1731
+ "type": [
1732
+ "string",
1733
+ "null"
1734
+ ]
1735
+ },
1736
+ "namespace": {
1737
+ "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
1738
+ "type": [
1739
+ "string",
1740
+ "null"
1741
+ ]
1742
+ },
1743
+ "resourceVersion": {
1744
+ "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
1745
+ "type": [
1746
+ "string",
1747
+ "null"
1748
+ ]
1749
+ },
1750
+ "uid": {
1751
+ "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids",
1752
+ "type": [
1753
+ "string",
1754
+ "null"
1755
+ ]
1756
+ }
1757
+ },
1758
+ "x-kubernetes-map-type": "atomic",
1759
+ "additionalProperties": false
1760
+ },
1761
+ "volumeName": {
1762
+ "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.",
1763
+ "type": [
1764
+ "string",
1765
+ "null"
1766
+ ]
1767
+ },
1768
+ "volumeNamespace": {
1769
+ "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.",
1770
+ "type": [
1771
+ "string",
1772
+ "null"
1773
+ ]
1774
+ }
1775
+ },
1776
+ "additionalProperties": false
1777
+ },
1778
+ "volumeMode": {
1779
+ "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.",
1780
+ "type": [
1781
+ "string",
1782
+ "null"
1783
+ ]
1784
+ },
1785
+ "vsphereVolume": {
1786
+ "description": "Represents a vSphere volume resource.",
1787
+ "type": [
1788
+ "object",
1789
+ "null"
1790
+ ],
1791
+ "required": [
1792
+ "volumePath"
1793
+ ],
1794
+ "properties": {
1795
+ "fsType": {
1796
+ "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
1797
+ "type": [
1798
+ "string",
1799
+ "null"
1800
+ ]
1801
+ },
1802
+ "storagePolicyID": {
1803
+ "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.",
1804
+ "type": [
1805
+ "string",
1806
+ "null"
1807
+ ]
1808
+ },
1809
+ "storagePolicyName": {
1810
+ "description": "Storage Policy Based Management (SPBM) profile name.",
1811
+ "type": [
1812
+ "string",
1813
+ "null"
1814
+ ]
1815
+ },
1816
+ "volumePath": {
1817
+ "description": "Path that identifies vSphere volume vmdk",
1818
+ "type": "string"
1819
+ }
1820
+ },
1821
+ "additionalProperties": false
1822
+ }
1823
+ },
1824
+ "additionalProperties": false
1825
+ },
1826
+ "persistentVolumeName": {
1827
+ "description": "Name of the persistent volume to attach.",
1828
+ "type": [
1829
+ "string",
1830
+ "null"
1831
+ ]
1832
+ }
1833
+ },
1834
+ "additionalProperties": false
1835
+ }
1836
+ },
1837
+ "additionalProperties": false
1838
+ },
1839
+ "status": {
1840
+ "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.",
1841
+ "type": [
1842
+ "object",
1843
+ "null"
1844
+ ],
1845
+ "required": [
1846
+ "attached"
1847
+ ],
1848
+ "properties": {
1849
+ "attachError": {
1850
+ "description": "VolumeError captures an error encountered during a volume operation.",
1851
+ "type": [
1852
+ "object",
1853
+ "null"
1854
+ ],
1855
+ "properties": {
1856
+ "message": {
1857
+ "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.",
1858
+ "type": [
1859
+ "string",
1860
+ "null"
1861
+ ]
1862
+ },
1863
+ "time": {
1864
+ "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.",
1865
+ "type": [
1866
+ "string",
1867
+ "null"
1868
+ ],
1869
+ "format": "date-time"
1870
+ }
1871
+ },
1872
+ "additionalProperties": false
1873
+ },
1874
+ "attached": {
1875
+ "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
1876
+ "type": "boolean"
1877
+ },
1878
+ "attachmentMetadata": {
1879
+ "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
1880
+ "type": [
1881
+ "object",
1882
+ "null"
1883
+ ],
1884
+ "additionalProperties": {
1885
+ "type": [
1886
+ "string",
1887
+ "null"
1888
+ ]
1889
+ }
1890
+ },
1891
+ "detachError": {
1892
+ "description": "VolumeError captures an error encountered during a volume operation.",
1893
+ "type": [
1894
+ "object",
1895
+ "null"
1896
+ ],
1897
+ "properties": {
1898
+ "message": {
1899
+ "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.",
1900
+ "type": [
1901
+ "string",
1902
+ "null"
1903
+ ]
1904
+ },
1905
+ "time": {
1906
+ "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.",
1907
+ "type": [
1908
+ "string",
1909
+ "null"
1910
+ ],
1911
+ "format": "date-time"
1912
+ }
1913
+ },
1914
+ "additionalProperties": false
1915
+ }
1916
+ },
1917
+ "additionalProperties": false
1918
+ }
1919
+ },
1920
+ "x-kubernetes-group-version-kind": [
1921
+ {
1922
+ "group": "storage.k8s.io",
1923
+ "kind": "VolumeAttachment",
1924
+ "version": "v1"
1925
+ }
1926
+ ],
1927
+ "additionalProperties": false
1928
+ }
1929
+ },
1930
+ "kind": {
1931
+ "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",
1932
+ "type": [
1933
+ "string",
1934
+ "null"
1935
+ ],
1936
+ "enum": [
1937
+ "VolumeAttachmentList"
1938
+ ]
1939
+ },
1940
+ "metadata": {
1941
+ "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
1942
+ "type": [
1943
+ "object",
1944
+ "null"
1945
+ ],
1946
+ "properties": {
1947
+ "continue": {
1948
+ "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
1949
+ "type": [
1950
+ "string",
1951
+ "null"
1952
+ ]
1953
+ },
1954
+ "remainingItemCount": {
1955
+ "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
1956
+ "type": [
1957
+ "integer",
1958
+ "null"
1959
+ ],
1960
+ "format": "int64"
1961
+ },
1962
+ "resourceVersion": {
1963
+ "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
1964
+ "type": [
1965
+ "string",
1966
+ "null"
1967
+ ]
1968
+ },
1969
+ "selfLink": {
1970
+ "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.",
1971
+ "type": [
1972
+ "string",
1973
+ "null"
1974
+ ]
1975
+ }
1976
+ },
1977
+ "additionalProperties": false
1978
+ }
1979
+ },
1980
+ "x-kubernetes-group-version-kind": [
1981
+ {
1982
+ "group": "storage.k8s.io",
1983
+ "kind": "VolumeAttachmentList",
1984
+ "version": "v1"
1985
+ }
1986
+ ],
1987
+ "additionalProperties": false,
1988
+ "$schema": "http://json-schema.org/schema#"
1989
+ }