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
+1 -1
View File
@@ -3,7 +3,7 @@ appVersion: auto
dependencies:
- name: common
repository: https://truecharts.org/
version: 4.1.6
version: 5.0.0
deprecated: false
description: HandBrake is a tool for converting video from nearly any format to a
selection of modern, widely supported codecs.
+59 -22
View File
@@ -413,27 +413,29 @@ questions:
default: "/data"
hidden: true
- variable: emptyDir
label: "Use Empty Dir Mountpoint"
label: "EmptyDir Volume"
schema:
type: dict
hidden: false
attrs:
- variable: enabled
label: "Enable emptyDir"
label: "Use emptyDir volume"
schema:
type: boolean
default: false
hidden: false
- variable: medium
label: "EmptyDir Medium"
schema:
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
show_subquestions_if: true
subquestions:
- variable: medium
label: "EmptyDir Medium"
schema:
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
- variable: accessMode
label: "Access Mode (Advanced)"
description: "Allow or disallow multiple PVC's writhing to the same PVC"
@@ -487,12 +489,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"
@@ -503,6 +522,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
@@ -527,12 +547,29 @@ questions:
hidden: true
editable: 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: devicePath
label: "Device Path"
description: "Path to the device to mount inside the container"