(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: schema:
type: dict type: dict
attrs: attrs:
- variable: varrun
label: "varrun override"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: ""
schema:
type: boolean
default: false
hidden: true
- variable: data - variable: data
label: "App Data Storage" label: "App Data Storage"
description: "Stores the Application Data." description: "Stores the Application Data."
+1 -2
View File
@@ -59,8 +59,7 @@ persistence:
enabled: true enabled: true
mountPath: "/mimetmp" mountPath: "/mimetmp"
type: emptyDir type: emptyDir
varrun:
enabled: false
# -- postgres dependency settings # -- postgres dependency settings
postgresql: postgresql:
@@ -313,6 +313,18 @@ questions:
schema: schema:
type: dict type: dict
attrs: 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 - variable: conf
label: "App Config Storage" label: "App Config Storage"
description: "Stores the Application Configuration." description: "Stores the Application Configuration."
+3 -1
View File
@@ -21,7 +21,7 @@ service:
main: main:
ports: ports:
main: main:
port: 5050 port: 5050
tcp: tcp:
enabled: true enabled: true
type: ClusterIP type: ClusterIP
@@ -38,3 +38,5 @@ persistence:
type: pvc type: pvc
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: "100Gi" size: "100Gi"
varrun:
enabled: true
+12
View File
@@ -427,6 +427,18 @@ questions:
schema: schema:
type: dict type: dict
attrs: 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 - variable: config
label: "App Config Storage" label: "App Config Storage"
description: "Stores the Application Configuration." description: "Stores the Application Configuration."
+2
View File
@@ -37,3 +37,5 @@ persistence:
type: pvc type: pvc
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: "100Gi" size: "100Gi"
varrun:
enabled: true
@@ -295,6 +295,18 @@ questions:
schema: schema:
type: dict type: dict
attrs: 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 - variable: config
label: "App Config Storage" label: "App Config Storage"
description: "Stores the Application Configuration." description: "Stores the Application Configuration."
+2
View File
@@ -41,6 +41,8 @@ persistence:
type: pvc type: pvc
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: "100Gi" size: "100Gi"
varrun:
enabled: true
# # Path to your Z-Wave / Zigbee device in the container # # Path to your Z-Wave / Zigbee device in the container
# additionalVolumeMounts: # additionalVolumeMounts:
@@ -280,6 +280,18 @@ questions:
schema: schema:
type: dict type: dict
attrs: 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 - variable: config
label: "App Config Storage" label: "App Config Storage"
description: "Stores the Application Configuration." description: "Stores the Application Configuration."
@@ -295,7 +307,7 @@ questions:
label: "(Advanced) Type of Storage" label: "(Advanced) Type of Storage"
description: "Sets the persistence type" description: "Sets the persistence type"
schema: schema:
type: string type: string
default: "pvc" default: "pvc"
enum: enum:
- value: "pvc" - value: "pvc"
+2
View File
@@ -30,3 +30,5 @@ persistence:
type: pvc type: pvc
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: "100Gi" size: "100Gi"
varrun:
enabled: true
+1 -12
View File
@@ -390,18 +390,7 @@ questions:
show_if: [["type", "=", "pvc"]] show_if: [["type", "=", "pvc"]]
type: string type: string
default: "100Gi" 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} # Include{persistenceList}
- variable: ingress - variable: ingress
-2
View File
@@ -31,5 +31,3 @@ persistence:
type: pvc type: pvc
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: "100Gi" size: "100Gi"
varrun:
enabled: false
+12
View File
@@ -279,6 +279,18 @@ questions:
schema: schema:
type: dict type: dict
attrs: 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 - variable: config
label: "App Config Storage" label: "App Config Storage"
description: "Stores the Application Configuration." description: "Stores the Application Configuration."
+2
View File
@@ -52,3 +52,5 @@ persistence:
downloads: downloads:
enabled: false enabled: false
mountPath: /downloads mountPath: /downloads
varrun:
enabled: true
@@ -285,6 +285,18 @@ questions:
schema: schema:
type: dict type: dict
attrs: 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 - variable: data
label: "App Data Storage" label: "App Data Storage"
description: "Stores the Application Data." description: "Stores the Application Data."
+2
View File
@@ -56,3 +56,5 @@ persistence:
enabled: false enabled: false
type: hostPath type: hostPath
hostPath: /dev/ttyACM0 hostPath: /dev/ttyACM0
varrun:
enabled: true
+12
View File
@@ -278,6 +278,18 @@ questions:
schema: schema:
type: dict type: dict
attrs: 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 - variable: config
label: "App Config Storage" label: "App Config Storage"
description: "Stores the Application Configuration." description: "Stores the Application Configuration."
+2
View File
@@ -33,3 +33,5 @@ persistence:
type: pvc type: pvc
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: "100Gi" size: "100Gi"
varrun:
enabled: true
+12
View File
@@ -279,6 +279,18 @@ questions:
schema: schema:
type: dict type: dict
attrs: 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 - variable: config
label: "App Config Storage" label: "App Config Storage"
description: "Stores the Application Configuration." description: "Stores the Application Configuration."
+2
View File
@@ -49,3 +49,5 @@ persistence:
downloads: downloads:
enabled: false enabled: false
mountPath: /downloads mountPath: /downloads
varrun:
enabled: true
@@ -473,6 +473,18 @@ questions:
schema: schema:
type: dict type: dict
attrs: 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 - variable: config
label: "App Config Storage" label: "App Config Storage"
description: "Stores the Application Configuration." description: "Stores the Application Configuration."
+2
View File
@@ -71,6 +71,8 @@ persistence:
media: media:
enabled: false enabled: false
mountPath: /media mountPath: /media
varrun:
enabled: true
downloads: downloads:
enabled: false enabled: false
@@ -568,18 +568,6 @@ questions:
show_if: [["type", "=", "pvc"]] show_if: [["type", "=", "pvc"]]
type: string type: string
default: "100Gi" 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} # Include{persistenceList}
-2
View File
@@ -51,5 +51,3 @@ persistence:
type: pvc type: pvc
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: "100Gi" size: "100Gi"
varrun:
enabled: false
@@ -377,6 +377,18 @@ questions:
schema: schema:
type: dict type: dict
attrs: 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 - variable: config
label: "App Config Storage" label: "App Config Storage"
description: "Stores the Application Configuration." description: "Stores the Application Configuration."
+2
View File
@@ -40,3 +40,5 @@ persistence:
type: pvc type: pvc
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: "100Gi" size: "100Gi"
varrun:
enabled: true