forked from garethr/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiscsipersistentvolumesource.json
98 lines (98 loc) · 3.1 KB
/
iscsipersistentvolumesource.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
"required": [
"targetPortal",
"iqn",
"lun"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"targetPortal": {
"type": [
"string",
"null"
],
"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)."
},
"portals": {
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"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)."
},
"secretRef": {
"additionalProperties": false,
"description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
"properties": {
"namespace": {
"type": [
"string",
"null"
],
"description": "Namespace defines the space within which the secret name must be unique."
},
"name": {
"type": [
"string",
"null"
],
"description": "Name is unique within a namespace to reference a secret resource."
}
}
},
"fsType": {
"type": [
"string",
"null"
],
"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"
},
"readOnly": {
"type": "boolean",
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."
},
"chapAuthSession": {
"type": "boolean",
"description": "whether support iSCSI Session CHAP authentication"
},
"initiatorName": {
"type": [
"string",
"null"
],
"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."
},
"iscsiInterface": {
"type": [
"string",
"null"
],
"description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."
},
"chapAuthDiscovery": {
"type": "boolean",
"description": "whether support iSCSI Discovery CHAP authentication"
},
"iqn": {
"type": [
"string",
"null"
],
"description": "Target iSCSI Qualified Name."
},
"lun": {
"type": "integer",
"description": "iSCSI Target Lun number.",
"format": "int32"
}
}
}