From 118e9625a8c333c72379162eb10472b13feb5462 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Thu, 15 Sep 2022 16:57:01 +0200
Subject: [PATCH] updated sumas file

---
 .gitlab/deployment_scripts/update_secret.sh | 2 +-
 chart/templates/deployment.yaml             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab/deployment_scripts/update_secret.sh b/.gitlab/deployment_scripts/update_secret.sh
index 78738550b..3fc502c3c 100755
--- a/.gitlab/deployment_scripts/update_secret.sh
+++ b/.gitlab/deployment_scripts/update_secret.sh
@@ -8,7 +8,7 @@ HELM_RELEASE_NAME=${HELM_RELEASE_NAME%%*(-)}
 # Create/Update the secret
 kubectl -n $KUBE_NAMESPACE create secret generic ${HELM_RELEASE_NAME} \
   --from-file=${ENV_PRODUCTION} \
-  --from-file=${SUMAS} \
+  --from-file=${SUMAS_JSON} \
   --from-file=${ADBLACKLIST_DOMAINS} \
   --from-file=${ADBLACKLIST_URL} \
   --from-file=${BLACKLIST_DESCRIPTION_URL} \
diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml
index 5bb6730cb..9960163f7 100644
--- a/chart/templates/deployment.yaml
+++ b/chart/templates/deployment.yaml
@@ -59,7 +59,7 @@ spec:
             readOnly: true
           - name: secrets
             mountPath: /metager/metager_app/config/sumas.json
-            subPath: SUMAS
+            subPath: SUMAS_JSON
           - name: secrets
             mountPath: /metager/metager_app/config/blacklistDomains.txt
             subPath: BLACKLIST_DOMAINS
-- 
GitLab