mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-20 09:01:32 -08:00
- This allows to mount extra volumes in Synapse pod - Synapse supports hooks, so it is possible to specify during which context should a given volume be mounted through `mountContext`
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"type": "array",
|
|
"items": {
|
|
"required": [
|
|
"name",
|
|
"mountPath"
|
|
],
|
|
"type": "object",
|
|
"description": "VolumeMount describes a mounting of a Volume within a container.",
|
|
"properties": {
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."
|
|
},
|
|
"mountContext": {
|
|
"type": [
|
|
"string"
|
|
],
|
|
"enum": [
|
|
"hook",
|
|
"both",
|
|
"runtime"
|
|
]
|
|
},
|
|
"mountPath": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Path within the container at which the volume should be mounted. Must not contain ':'."
|
|
},
|
|
"subPath": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)."
|
|
},
|
|
"name": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "This must match the Name of a Volume."
|
|
}
|
|
}
|
|
}
|
|
}
|