Cleanup devicemounts a bit (#363)

This commit is contained in:
Kjeld Schouten-Lebbing
2021-04-15 23:30:44 +02:00
committed by GitHub
parent 33e4090a07
commit 6f9bdb2a20
41 changed files with 147 additions and 190 deletions
+37 -2
View File
@@ -9,8 +9,8 @@ groups:
description: "Configure / service for container"
- name: "Storage"
description: "Persist and share data that is separate from the lifecycle of the container"
- name: "Resource Reservation"
description: "Specify resources to be allocated to workload"
- name: "Resources and Devices"
description: "Specify resources/devices to be allocated to workload"
- name: "Reverse Proxy Configuration"
description: "Reverse Proxy configuration"
- name: "Advanced"
@@ -402,6 +402,41 @@ questions:
schema:
type: hostpath
required: true
- variable: deviceMounts
label: "Mount Devices"
group: "Resources and Devices"
schema:
type: list
default: []
items:
- variable: deviceMount
label: "Custom Storage"
schema:
type: dict
attrs:
- variable: enabled
label: "Enabled"
schema:
type: boolean
default: true
required: true
hidden: true
editable: false
- variable: emptyDir
label: "emptyDir"
schema:
type: boolean
default: false
hidden: true
editable: false
- variable: devicePath
label: "Device Path"
description: "Path to the device to mount inside the container"
schema:
type: path
required: true
default: "/dev/ttyACM0"
editable: true
- variable: ingress
label: ""
group: "Reverse Proxy Configuration"