Allow setting emptyDir on hostPathMount (#508)

* allow the use of emptyDir for hostPathMount

* increase common version for all Apps

* Hide emptyDir subquestions when disabled

* fix podgrab and appdaemon

* some naming tweaks
This commit is contained in:
Kjeld Schouten-Lebbing
2021-05-24 21:56:45 +02:00
committed by GitHub
parent 4c702cb92e
commit a4c0daa828
86 changed files with 1708 additions and 809 deletions
@@ -270,12 +270,29 @@ questions:
default: false
hidden: false
- variable: emptyDir
label: "emptyDir"
label: "EmptyDir Volume"
schema:
type: boolean
default: false
hidden: true
editable: false
type: dict
hidden: false
attrs:
- variable: enabled
label: "Use emptyDir volume"
schema:
type: boolean
default: false
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
label: "Mount Path"
description: "Path to mount inside the pod"
@@ -286,6 +303,7 @@ questions:
editable: true
- variable: hostPath
label: "Host Path"
description: "Path on the host to mount inside the container, ignored when emptyDir is enabled"
schema:
type: hostpath
required: true