From a57820c16b0a78124d2c0e46e6ebac6a1c16dddf Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Sun, 18 Apr 2021 15:20:44 +0200 Subject: [PATCH] setup required permissions to run youtubedl as non-root --- stable/youtubedl-material/1.0.0/questions.yaml | 8 ++++---- stable/youtubedl-material/1.0.0/test_values.yaml | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/stable/youtubedl-material/1.0.0/questions.yaml b/stable/youtubedl-material/1.0.0/questions.yaml index 793a7d393c8..ebbafde64fe 100644 --- a/stable/youtubedl-material/1.0.0/questions.yaml +++ b/stable/youtubedl-material/1.0.0/questions.yaml @@ -84,7 +84,7 @@ questions: label: "Value" schema: type: string - + # Enable Host Networking - variable: hostNetwork group: "Networking" @@ -194,7 +194,7 @@ questions: description: "Path inside the container the storage is mounted" schema: type: string - default: "/data/appdata" + default: "/app/appdata" hidden: true - variable: emptyDir label: "Mount a ramdisk instead of actual storage" @@ -220,7 +220,7 @@ questions: schema: type: string default: "100Gi" - + - variable: customStorage label: "Custom app storage" group: "Storage" @@ -411,7 +411,7 @@ questions: description: "Additional groups this App needs access to" schema: type: list - default: [] + default: [568] items: - variable: Group label: "Group" diff --git a/stable/youtubedl-material/1.0.0/test_values.yaml b/stable/youtubedl-material/1.0.0/test_values.yaml index ed5ffbbad4c..24fa7f1d3aa 100644 --- a/stable/youtubedl-material/1.0.0/test_values.yaml +++ b/stable/youtubedl-material/1.0.0/test_values.yaml @@ -13,6 +13,7 @@ podSecurityContext: runAsUser: 568 runAsGroup: 568 fsGroup: 568 + supplementalGroups: [44, 107] services: main: @@ -26,7 +27,7 @@ env: {} persistence: config: enabled: true - mountPath: "/data/appdata" + mountPath: "/app/appdata" emptyDir: true accessMode: ReadWriteOnce size: 1Gi