From 84b17433499003a1ac4b24ddd4cffb4efc5ab756 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Wed, 5 Feb 2020 12:19:21 +0100
Subject: [PATCH] added additionalHost with --set

---
 .gitlab-ci.yml                  | 1 +
 .gitlab/development-values.yaml | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52fbc136e..f972b67cd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -134,6 +134,7 @@ stop_review:
     - auto-deploy delete rollout
     - auto-deploy persist_environment_url
   variables:
+    HELM_UPGRADE_EXTRA_ARGS: --set service.additionalHosts[0]=www.metager3.de
     HELM_UPGRADE_VALUES_FILE: .gitlab/development-values.yaml
     ROLLOUT_RESOURCE_TYPE: deployment
   environment:
diff --git a/.gitlab/development-values.yaml b/.gitlab/development-values.yaml
index 4583a52cf..b18daea34 100644
--- a/.gitlab/development-values.yaml
+++ b/.gitlab/development-values.yaml
@@ -1,8 +1,6 @@
 service:
   externalPort: 80
   internalPort: 80
-  additionalHosts:
-    - www.metager3.de
 ingress:
   annotations:
     certmanager.k8s.io/cluster-issuer: letsencrypt-prod
-- 
GitLab