update storage docs to reflect current storage code

This commit is contained in:
kjeld Schouten-Lebbing
2021-05-24 22:16:54 +02:00
parent e3c8e5db54
commit 7afd989b0e
2 changed files with 45 additions and 15 deletions
+38 -15
View File
@@ -35,35 +35,44 @@ Preventing the user to disable them, ensures that users don't (by mistake) remov
schema: schema:
type: boolean type: boolean
default: true default: true
hidden: true hidden: false
- variable: storageClass - variable: storageClass
label: "Type of Storage" label: "Type of Storage"
description: " Warning: Anything other than Internal will break rollback!" description: " Warning: Anything other than SCALE-ZFS will break rollback!"
schema: schema:
type: string type: string
default: "" default: "SCALE-ZFS"
enum:
- value: ""
description: "Internal"
- variable: mountPath - variable: mountPath
label: "mountPath" label: "mountPath"
description: "Path inside the container the storage is mounted" description: "Path inside the container the storage is mounted"
schema: schema:
type: string type: string
default: "/data" default: "/config"
hidden: true hidden: true
- variable: emptyDir - variable: emptyDir
label: "Mount a ramdisk instead of actual storage" label: "EmptyDir Volume"
schema: schema:
type: dict type: dict
hidden: true hidden: false
attrs: attrs:
- variable: enabled - variable: enabled
label: "Enable emptyDir" label: "Use emptyDir volume"
schema: schema:
type: boolean type: boolean
default: false default: false
hidden: true hidden: false
show_subquestions_if: true
subquestions:
- variable: medium
label: "EmptyDir Medium"
schema:
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
- variable: accessMode - variable: accessMode
label: "Access Mode (Advanced)" label: "Access Mode (Advanced)"
description: "Allow or disallow multiple PVC's writhing to the same PVC" description: "Allow or disallow multiple PVC's writhing to the same PVC"
@@ -127,16 +136,29 @@ It should always be included in any App, to give users the option to customise t
required: true required: true
editable: true editable: true
- variable: emptyDir - variable: emptyDir
label: "Mount a ramdisk instead of actual storage" label: "EmptyDir Volume"
schema: schema:
hidden: true type: dict
hidden: false
attrs: attrs:
- variable: enabled - variable: enabled
label: Enable emptyDir label: "Use emptyDir volume"
schema: schema:
type: boolean type: boolean
default: false default: false
hidden: true hidden: false
show_subquestions_if: true
subquestions:
- variable: medium
label: "EmptyDir Medium"
schema:
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
- variable: mountPath - variable: mountPath
label: "Mount Path" label: "Mount Path"
description: "Path to mount inside the pod" description: "Path to mount inside the pod"
@@ -153,6 +175,7 @@ It should always be included in any App, to give users the option to customise t
hidden: true hidden: true
- variable: hostPath - variable: hostPath
label: "Host Path" label: "Host Path"
description: "Path on the host to mount inside the container, ignored when emptyDir is enabled"
schema: schema:
type: hostpath type: hostpath
required: true required: true
+7
View File
@@ -31,3 +31,10 @@ Be also aware that we do not have common 2.0 based installs available in the ver
In cases you upgrade to a common 4.0 based app, reinstall is currently required. Please be aware: Installing will nuke your data! In cases you upgrade to a common 4.0 based app, reinstall is currently required. Please be aware: Installing will nuke your data!
However: Common 3.0 based Apps are still available to be installed using the version dropdown However: Common 3.0 based Apps are still available to be installed using the version dropdown
##### Common 4.0 -> common 5.0 based Apps
Common 5.0.0 is actually a rather small update: It just allows using a ramdisk when using emptyDir on hostPathMount.
It is however still a breaking change.
To update, we advice removing all(!) entries from hostPathMounts/customStorage and readd them after the update