(fix) adapt Apps for new way of dealing with readonlyroot on S6(ish) containers

This commit is contained in:
kjeld Schouten-Lebbing 2021-09-29 16:36:34 +02:00
parent 2480afdf9b
commit e1ffb00eba
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
26 changed files with 144 additions and 44 deletions

View File

@ -657,18 +657,6 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: false
hidden: true
- variable: data
label: "App Data Storage"
description: "Stores the Application Data."

View File

@ -59,8 +59,7 @@ persistence:
enabled: true
mountPath: "/mimetmp"
type: emptyDir
varrun:
enabled: false
# -- postgres dependency settings
postgresql:

View File

@ -313,6 +313,18 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override for S6 Readonly Root"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: true
hidden: true
- variable: conf
label: "App Config Storage"
description: "Stores the Application Configuration."

View File

@ -21,7 +21,7 @@ service:
main:
ports:
main:
port: 5050
port: 5050
tcp:
enabled: true
type: ClusterIP
@ -38,3 +38,5 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: true

View File

@ -427,6 +427,18 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override for S6 Readonly Root"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: true
hidden: true
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."

View File

@ -37,3 +37,5 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: true

View File

@ -295,6 +295,18 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override for S6 Readonly Root"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: true
hidden: true
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."

View File

@ -41,6 +41,8 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: true
# # Path to your Z-Wave / Zigbee device in the container
# additionalVolumeMounts:

View File

@ -280,6 +280,18 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override for S6 Readonly Root"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: true
hidden: true
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."
@ -295,7 +307,7 @@ questions:
label: "(Advanced) Type of Storage"
description: "Sets the persistence type"
schema:
type: string
type: string
default: "pvc"
enum:
- value: "pvc"

View File

@ -30,3 +30,5 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: true

View File

@ -390,18 +390,7 @@ questions:
show_if: [["type", "=", "pvc"]]
type: string
default: "100Gi"
- variable: varrun
label: "varrun override"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: false
hidden: true
# Include{persistenceList}
- variable: ingress

View File

@ -31,5 +31,3 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: false

View File

@ -279,6 +279,18 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override for S6 Readonly Root"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: true
hidden: true
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."

View File

@ -52,3 +52,5 @@ persistence:
downloads:
enabled: false
mountPath: /downloads
varrun:
enabled: true

View File

@ -285,6 +285,18 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override for S6 Readonly Root"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: true
hidden: true
- variable: data
label: "App Data Storage"
description: "Stores the Application Data."

View File

@ -56,3 +56,5 @@ persistence:
enabled: false
type: hostPath
hostPath: /dev/ttyACM0
varrun:
enabled: true

View File

@ -278,6 +278,18 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override for S6 Readonly Root"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: true
hidden: true
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."

View File

@ -33,3 +33,5 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: true

View File

@ -279,6 +279,18 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override for S6 Readonly Root"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: true
hidden: true
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."

View File

@ -49,3 +49,5 @@ persistence:
downloads:
enabled: false
mountPath: /downloads
varrun:
enabled: true

View File

@ -473,6 +473,18 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override for S6 Readonly Root"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: true
hidden: true
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."

View File

@ -71,6 +71,8 @@ persistence:
media:
enabled: false
mountPath: /media
varrun:
enabled: true
downloads:
enabled: false

View File

@ -568,18 +568,6 @@ questions:
show_if: [["type", "=", "pvc"]]
type: string
default: "100Gi"
- variable: varrun
label: "varrun override"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: false
hidden: true
# Include{persistenceList}

View File

@ -51,5 +51,3 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: false

View File

@ -377,6 +377,18 @@ questions:
schema:
type: dict
attrs:
- variable: varrun
label: "varrun override for S6 Readonly Root"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: true
hidden: true
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."

View File

@ -40,3 +40,5 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: true