diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index bdf168cc0e8561bb226705f25721d93c78f8dfba..81570d51a2b9b28ea77644759d81a7d64e483da5 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: