From cc71593905cc3ac36c5f76055bc165c0b90248bd Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Tue, 13 Oct 2020 09:40:26 +0200
Subject: [PATCH] fetcher now has correct env file mounted

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

diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml
index bdf168cc0..81570d51a 100644
--- a/chart/templates/deployment.yaml
+++ b/chart/templates/deployment.yaml
@@ -216,6 +216,11 @@ spec:
         image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
         command: ["su"]
         args: ["-s", "/bin/sh", "-c", "php artisan requests:fetcher", "nginx"]
+        volumeMounts:
+        - name: env-files
+          mountPath: /html/.env
+          subPath: .env
+          readOnly: true
         imagePullPolicy: {{ .Values.image.pullPolicy }}
         livenessProbe:
           exec:
-- 
GitLab