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: minimal
dependencies:
- name: common
repository: https://truecharts.org/
version: 4.1.6
version: 5.0.0
deprecated: false
description: Private Windows Activation Server for development and testing
home: https://github.com/truecharts/apps/tree/master/stable/kms
+23 -5
View File
@@ -242,12 +242,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"
@@ -258,6 +275,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