setup required permissions to run youtubedl as non-root

This commit is contained in:
kjeld Schouten-Lebbing
2021-04-18 15:20:44 +02:00
parent 6a158aeb0a
commit a57820c16b
2 changed files with 6 additions and 5 deletions
@@ -194,7 +194,7 @@ questions:
description: "Path inside the container the storage is mounted" description: "Path inside the container the storage is mounted"
schema: schema:
type: string type: string
default: "/data/appdata" default: "/app/appdata"
hidden: true hidden: true
- variable: emptyDir - variable: emptyDir
label: "Mount a ramdisk instead of actual storage" label: "Mount a ramdisk instead of actual storage"
@@ -411,7 +411,7 @@ questions:
description: "Additional groups this App needs access to" description: "Additional groups this App needs access to"
schema: schema:
type: list type: list
default: [] default: [568]
items: items:
- variable: Group - variable: Group
label: "Group" label: "Group"
@@ -13,6 +13,7 @@ podSecurityContext:
runAsUser: 568 runAsUser: 568
runAsGroup: 568 runAsGroup: 568
fsGroup: 568 fsGroup: 568
supplementalGroups: [44, 107]
services: services:
main: main:
@@ -26,7 +27,7 @@ env: {}
persistence: persistence:
config: config:
enabled: true enabled: true
mountPath: "/data/appdata" mountPath: "/app/appdata"
emptyDir: true emptyDir: true
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: 1Gi size: 1Gi