From 3fa0aaf340410f3e5bf85894b205f5a9fe58e8df Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Tue, 10 May 2022 14:18:31 +0200
Subject: [PATCH] chart name

---
 .gitlab/ci/deploy.yml | 3 +++
 .gitlab/review.yaml   | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.gitlab/ci/deploy.yml b/.gitlab/ci/deploy.yml
index 9fa678c13..397070657 100644
--- a/.gitlab/ci/deploy.yml
+++ b/.gitlab/ci/deploy.yml
@@ -1,6 +1,8 @@
 .deploy:
   stage: deploy
   image: $DEPLOY_KUBERNETES_IMAGE
+  variables:
+    DEPLOYMENT_CHART_NAME: ${CI_COMMIT_REF_SLUG}
   script:
     - .gitlab/deployment_scripts/update_secret.sh
     - .gitlab/deployment_scripts/update_deployment.sh
@@ -17,6 +19,7 @@ deploy_review:
   variables:
     DEPLOYMENT_URL: "${CI_COMMIT_REF_SLUG}.review.metager.de"
     DEPLOYMENT_HELM_VALUES: .gitlab/review.yaml
+    DEPLOYMENT_CHART_NAME: review-${CI_COMMIT_REF_SLUG}
   rules:
     - if: '$CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "development"'
       when: never
diff --git a/.gitlab/review.yaml b/.gitlab/review.yaml
index 5027301c1..870ff0015 100644
--- a/.gitlab/review.yaml
+++ b/.gitlab/review.yaml
@@ -3,8 +3,7 @@ ingress:
     kubernetes.io/tls-acme: "true"
     cert-manager.io/cluster-issuer: letsencrypt-prod
   hosts:
-    - host: replaced_by_deployment_script
-      paths:
+    - paths:
         - path: /
           pathType: ImplementationSpecific
   tls:
-- 
GitLab