-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathlocal-path-provisioner.json
51 lines (51 loc) · 1.7 KB
/
local-path-provisioner.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"description": "Enable and/or change default settings for 'local-path-provisioner' plugin",
"allOf": [{"$ref": "generic_plugin.json#/definitions/Properties"}],
"properties": {
"version": {
"type": "string"
},
"image": {
"type": "string"
},
"storage-class": {
"type": "object",
"description": "Configuration of StorageClass resource for Local Path Provisioner",
"properties": {
"name": {
"type": "string",
"default": "local-path",
"description": "Name of the storage class resource, which describes the class of the local volumes created by the provisioner"
},
"is-default": {
"type": ["string", "boolean"],
"default": "'false'",
"description": "If 'true', the created storage class is the default one"
}
},
"additionalProperties": false
},
"volume-dir": {
"type": "string",
"default": "/opt/local-path-provisioner",
"description": "The directory on each node, where the provisioner stores the PV data. For each requested PV, the provisioner creates the subdirectory in the volume-dir."
},
"tolerations": {
"$ref": "generic_plugin.json#/definitions/CustomTolerations"
},
"resources": {
"$ref": "generic_plugin.json#/definitions/RequestsLimitsForContainer"
},
"helper-pod-image": {
"type": "string"
}
},
"propertyNames": {
"anyOf": [
{"$ref": "generic_plugin.json#/definitions/PropertyNames"},
{"enum": ["version", "image", "storage-class", "volume-dir", "tolerations", "helper-pod-image", "resources"]}
]
}
}