From 6a992c4ecf116b75081dd5bb8f61fd6e5c9f2601 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 7 Jan 2024 18:14:55 -0500 Subject: [PATCH] fix(qbitmanage): run as non root --- cluster/apps/download/qbit-manage/helm-release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cluster/apps/download/qbit-manage/helm-release.yaml b/cluster/apps/download/qbit-manage/helm-release.yaml index f5c303f..62ebd3d 100644 --- a/cluster/apps/download/qbit-manage/helm-release.yaml +++ b/cluster/apps/download/qbit-manage/helm-release.yaml @@ -24,8 +24,8 @@ spec: - /bin/sh - -c - "ls /tmp/config-ro - && cp -a /tmp/config-ro/. /tmp/config/ - && chmod -R 777 /tmp/config + && cp -r /tmp/config-ro/. /tmp/config/ + && chmod 777 /tmp/config/config.yml && ls /tmp/config" volumeMounts: - name: config-ro @@ -55,6 +55,7 @@ spec: config: enabled: true type: emptyDir + defaultMode: 777 mountPath: /config config-ro: