(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
26 changed files with 144 additions and 44 deletions
@@ -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."
+1 -2
View File
@@ -59,8 +59,7 @@ persistence:
enabled: true
mountPath: "/mimetmp"
type: emptyDir
varrun:
enabled: false
# -- postgres dependency settings
postgresql:
@@ -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."
+3 -1
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
+12
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."
+2
View File
@@ -37,3 +37,5 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: true
@@ -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."
+2
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:
@@ -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"
+2
View File
@@ -30,3 +30,5 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: true
+1 -12
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
-2
View File
@@ -31,5 +31,3 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: false
+12
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."
+2
View File
@@ -52,3 +52,5 @@ persistence:
downloads:
enabled: false
mountPath: /downloads
varrun:
enabled: true
@@ -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."
+2
View File
@@ -56,3 +56,5 @@ persistence:
enabled: false
type: hostPath
hostPath: /dev/ttyACM0
varrun:
enabled: true
+12
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."
+2
View File
@@ -33,3 +33,5 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: true
+12
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."
+2
View File
@@ -49,3 +49,5 @@ persistence:
downloads:
enabled: false
mountPath: /downloads
varrun:
enabled: true
@@ -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."
+2
View File
@@ -71,6 +71,8 @@ persistence:
media:
enabled: false
mountPath: /media
varrun:
enabled: true
downloads:
enabled: false
@@ -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}
-2
View File
@@ -51,5 +51,3 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: false
@@ -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."
+2
View File
@@ -40,3 +40,5 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
varrun:
enabled: true