Text file
src/k8s.io/api/testdata/v1.28.0/storage.k8s.io.v1beta1.VolumeAttachment.json
1{
2 "kind": "VolumeAttachment",
3 "apiVersion": "storage.k8s.io/v1beta1",
4 "metadata": {
5 "name": "nameValue",
6 "generateName": "generateNameValue",
7 "namespace": "namespaceValue",
8 "selfLink": "selfLinkValue",
9 "uid": "uidValue",
10 "resourceVersion": "resourceVersionValue",
11 "generation": 7,
12 "creationTimestamp": "2008-01-01T01:01:01Z",
13 "deletionTimestamp": "2009-01-01T01:01:01Z",
14 "deletionGracePeriodSeconds": 10,
15 "labels": {
16 "labelsKey": "labelsValue"
17 },
18 "annotations": {
19 "annotationsKey": "annotationsValue"
20 },
21 "ownerReferences": [
22 {
23 "apiVersion": "apiVersionValue",
24 "kind": "kindValue",
25 "name": "nameValue",
26 "uid": "uidValue",
27 "controller": true,
28 "blockOwnerDeletion": true
29 }
30 ],
31 "finalizers": [
32 "finalizersValue"
33 ],
34 "managedFields": [
35 {
36 "manager": "managerValue",
37 "operation": "operationValue",
38 "apiVersion": "apiVersionValue",
39 "time": "2004-01-01T01:01:01Z",
40 "fieldsType": "fieldsTypeValue",
41 "fieldsV1": {},
42 "subresource": "subresourceValue"
43 }
44 ]
45 },
46 "spec": {
47 "attacher": "attacherValue",
48 "source": {
49 "persistentVolumeName": "persistentVolumeNameValue",
50 "inlineVolumeSpec": {
51 "capacity": {
52 "capacityKey": "0"
53 },
54 "gcePersistentDisk": {
55 "pdName": "pdNameValue",
56 "fsType": "fsTypeValue",
57 "partition": 3,
58 "readOnly": true
59 },
60 "awsElasticBlockStore": {
61 "volumeID": "volumeIDValue",
62 "fsType": "fsTypeValue",
63 "partition": 3,
64 "readOnly": true
65 },
66 "hostPath": {
67 "path": "pathValue",
68 "type": "typeValue"
69 },
70 "glusterfs": {
71 "endpoints": "endpointsValue",
72 "path": "pathValue",
73 "readOnly": true,
74 "endpointsNamespace": "endpointsNamespaceValue"
75 },
76 "nfs": {
77 "server": "serverValue",
78 "path": "pathValue",
79 "readOnly": true
80 },
81 "rbd": {
82 "monitors": [
83 "monitorsValue"
84 ],
85 "image": "imageValue",
86 "fsType": "fsTypeValue",
87 "pool": "poolValue",
88 "user": "userValue",
89 "keyring": "keyringValue",
90 "secretRef": {
91 "name": "nameValue",
92 "namespace": "namespaceValue"
93 },
94 "readOnly": true
95 },
96 "iscsi": {
97 "targetPortal": "targetPortalValue",
98 "iqn": "iqnValue",
99 "lun": 3,
100 "iscsiInterface": "iscsiInterfaceValue",
101 "fsType": "fsTypeValue",
102 "readOnly": true,
103 "portals": [
104 "portalsValue"
105 ],
106 "chapAuthDiscovery": true,
107 "chapAuthSession": true,
108 "secretRef": {
109 "name": "nameValue",
110 "namespace": "namespaceValue"
111 },
112 "initiatorName": "initiatorNameValue"
113 },
114 "cinder": {
115 "volumeID": "volumeIDValue",
116 "fsType": "fsTypeValue",
117 "readOnly": true,
118 "secretRef": {
119 "name": "nameValue",
120 "namespace": "namespaceValue"
121 }
122 },
123 "cephfs": {
124 "monitors": [
125 "monitorsValue"
126 ],
127 "path": "pathValue",
128 "user": "userValue",
129 "secretFile": "secretFileValue",
130 "secretRef": {
131 "name": "nameValue",
132 "namespace": "namespaceValue"
133 },
134 "readOnly": true
135 },
136 "fc": {
137 "targetWWNs": [
138 "targetWWNsValue"
139 ],
140 "lun": 2,
141 "fsType": "fsTypeValue",
142 "readOnly": true,
143 "wwids": [
144 "wwidsValue"
145 ]
146 },
147 "flocker": {
148 "datasetName": "datasetNameValue",
149 "datasetUUID": "datasetUUIDValue"
150 },
151 "flexVolume": {
152 "driver": "driverValue",
153 "fsType": "fsTypeValue",
154 "secretRef": {
155 "name": "nameValue",
156 "namespace": "namespaceValue"
157 },
158 "readOnly": true,
159 "options": {
160 "optionsKey": "optionsValue"
161 }
162 },
163 "azureFile": {
164 "secretName": "secretNameValue",
165 "shareName": "shareNameValue",
166 "readOnly": true,
167 "secretNamespace": "secretNamespaceValue"
168 },
169 "vsphereVolume": {
170 "volumePath": "volumePathValue",
171 "fsType": "fsTypeValue",
172 "storagePolicyName": "storagePolicyNameValue",
173 "storagePolicyID": "storagePolicyIDValue"
174 },
175 "quobyte": {
176 "registry": "registryValue",
177 "volume": "volumeValue",
178 "readOnly": true,
179 "user": "userValue",
180 "group": "groupValue",
181 "tenant": "tenantValue"
182 },
183 "azureDisk": {
184 "diskName": "diskNameValue",
185 "diskURI": "diskURIValue",
186 "cachingMode": "cachingModeValue",
187 "fsType": "fsTypeValue",
188 "readOnly": true,
189 "kind": "kindValue"
190 },
191 "photonPersistentDisk": {
192 "pdID": "pdIDValue",
193 "fsType": "fsTypeValue"
194 },
195 "portworxVolume": {
196 "volumeID": "volumeIDValue",
197 "fsType": "fsTypeValue",
198 "readOnly": true
199 },
200 "scaleIO": {
201 "gateway": "gatewayValue",
202 "system": "systemValue",
203 "secretRef": {
204 "name": "nameValue",
205 "namespace": "namespaceValue"
206 },
207 "sslEnabled": true,
208 "protectionDomain": "protectionDomainValue",
209 "storagePool": "storagePoolValue",
210 "storageMode": "storageModeValue",
211 "volumeName": "volumeNameValue",
212 "fsType": "fsTypeValue",
213 "readOnly": true
214 },
215 "local": {
216 "path": "pathValue",
217 "fsType": "fsTypeValue"
218 },
219 "storageos": {
220 "volumeName": "volumeNameValue",
221 "volumeNamespace": "volumeNamespaceValue",
222 "fsType": "fsTypeValue",
223 "readOnly": true,
224 "secretRef": {
225 "kind": "kindValue",
226 "namespace": "namespaceValue",
227 "name": "nameValue",
228 "uid": "uidValue",
229 "apiVersion": "apiVersionValue",
230 "resourceVersion": "resourceVersionValue",
231 "fieldPath": "fieldPathValue"
232 }
233 },
234 "csi": {
235 "driver": "driverValue",
236 "volumeHandle": "volumeHandleValue",
237 "readOnly": true,
238 "fsType": "fsTypeValue",
239 "volumeAttributes": {
240 "volumeAttributesKey": "volumeAttributesValue"
241 },
242 "controllerPublishSecretRef": {
243 "name": "nameValue",
244 "namespace": "namespaceValue"
245 },
246 "nodeStageSecretRef": {
247 "name": "nameValue",
248 "namespace": "namespaceValue"
249 },
250 "nodePublishSecretRef": {
251 "name": "nameValue",
252 "namespace": "namespaceValue"
253 },
254 "controllerExpandSecretRef": {
255 "name": "nameValue",
256 "namespace": "namespaceValue"
257 },
258 "nodeExpandSecretRef": {
259 "name": "nameValue",
260 "namespace": "namespaceValue"
261 }
262 },
263 "accessModes": [
264 "accessModesValue"
265 ],
266 "claimRef": {
267 "kind": "kindValue",
268 "namespace": "namespaceValue",
269 "name": "nameValue",
270 "uid": "uidValue",
271 "apiVersion": "apiVersionValue",
272 "resourceVersion": "resourceVersionValue",
273 "fieldPath": "fieldPathValue"
274 },
275 "persistentVolumeReclaimPolicy": "persistentVolumeReclaimPolicyValue",
276 "storageClassName": "storageClassNameValue",
277 "mountOptions": [
278 "mountOptionsValue"
279 ],
280 "volumeMode": "volumeModeValue",
281 "nodeAffinity": {
282 "required": {
283 "nodeSelectorTerms": [
284 {
285 "matchExpressions": [
286 {
287 "key": "keyValue",
288 "operator": "operatorValue",
289 "values": [
290 "valuesValue"
291 ]
292 }
293 ],
294 "matchFields": [
295 {
296 "key": "keyValue",
297 "operator": "operatorValue",
298 "values": [
299 "valuesValue"
300 ]
301 }
302 ]
303 }
304 ]
305 }
306 }
307 }
308 },
309 "nodeName": "nodeNameValue"
310 },
311 "status": {
312 "attached": true,
313 "attachmentMetadata": {
314 "attachmentMetadataKey": "attachmentMetadataValue"
315 },
316 "attachError": {
317 "time": "2001-01-01T01:01:01Z",
318 "message": "messageValue"
319 },
320 "detachError": {
321 "time": "2001-01-01T01:01:01Z",
322 "message": "messageValue"
323 }
324 }
325}
View as plain text