From bf88bded35de2a5147864145e0fe3a7ecf77e1b8 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Thu, 23 Jan 2020 12:25:38 +0100
Subject: [PATCH] reverted initcontainers

---
 chart/templates/deployment.yaml | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml
index 210b1f370..0940498c1 100644
--- a/chart/templates/deployment.yaml
+++ b/chart/templates/deployment.yaml
@@ -41,17 +41,6 @@ spec:
       - name: mgcache-persistent-storage
         persistentVolumeClaim:
           claimName: mgcache
-      initContainers:
-      - name: init-chmod
-        image: busybox:latest
-        command: ['sh', "-c", "chown -R 0:101 /logs /cache && chmod -R g+w /logs /cache"]
-        volumeMounts:
-        - name: mglogs-persistent-storage
-          mountPath: /logs
-          readOnly: false
-        - name: mgcache-persistent-storage
-          mountPath: /cache
-          readOnly: false
       containers:
       - name: {{ .Chart.Name }}
         image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
-- 
GitLab