From 6b9859ef7abeb7a0231e40c76a082d929fca2038 Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Sun, 5 Dec 2021 20:48:46 +0100
Subject: [PATCH] Fix envFrom

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

diff --git a/templates/deployment.yaml b/templates/deployment.yaml
index e12a355..a86059e 100644
--- a/templates/deployment.yaml
+++ b/templates/deployment.yaml
@@ -46,9 +46,9 @@ spec:
             {{- toYaml .Values.resources | nindent 12 }}
         envFrom:
         - configMapRef:
-            name: {{ .Release.Name }}-config
+            name: {{ template "greenlight.fullname" . }}-config
         - secretRef:
-            name: {{ .Release.Name }}-secret
+            name: {{ template "greenlight.fullname" . }}-secret
       {{- with .Values.nodeSelector }}
       nodeSelector:
         {{- toYaml . | nindent 8 }}
-- 
GitLab