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