From 2a9ffce4e01734b2734783610b77091f1113b943 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Tue, 17 Aug 2021 15:40:14 +0200
Subject: [PATCH] fixed request fetcher

---
 chart/templates/deployment.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml
index 5c1a93132..4f04d3678 100644
--- a/chart/templates/deployment.yaml
+++ b/chart/templates/deployment.yaml
@@ -259,8 +259,8 @@ spec:
       # Fetcher Container
       - name: {{ .Chart.Name }}-fetcher
         image: {{ template "imagename" . }}
-        command: ["su"]
-        args: ["-s", "/bin/sh", "-c", "php artisan requests:fetcher", "www-data"]
+        command: ["/bin/sh"]
+        args: ["-c", "php artisan requests:fetcher"]
         volumeMounts:
         - name: secrets
           mountPath: /html/.env
-- 
GitLab