forked from cw-ozaki/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
volumeattachmentspec-storage-v1beta1.json
40 lines (40 loc) · 1.16 KB
/
volumeattachmentspec-storage-v1beta1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.",
"required": [
"attacher",
"source",
"nodeName"
],
"properties": {
"attacher": {
"description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
"type": [
"string",
"null"
]
},
"nodeName": {
"description": "The node that the volume should be attached to.",
"type": [
"string",
"null"
]
},
"source": {
"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.",
"properties": {
"persistentVolumeName": {
"description": "Name of the persistent volume to attach.",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/schema#",
"type": "object"
}