From a7947179968a622e1f49b652f9e14ddfd54c15a6 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Tue, 21 Jun 2022 12:14:47 +0200
Subject: [PATCH] defining namespace

---
 .gitlab-ci.yml                              | 2 ++
 .gitlab/deployment_scripts/update_secret.sh | 5 -----
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 337e27625..c242fff6d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,6 +5,8 @@ variables:
   DOCKER_FPM_IMAGE_NAME: fpm
   DOCKER_NGINX_IMAGE_NAME: nginx
   DOCKER_NODE_IMAGE_NAME: node
+  KUBE_INGRESS_BASE_DOMAIN: metager.de
+  KUBE_NAMESPACE: metager-2
 
 include:
   - template: Auto-DevOps.gitlab-ci.yml
diff --git a/.gitlab/deployment_scripts/update_secret.sh b/.gitlab/deployment_scripts/update_secret.sh
index 619c3a40b..522e46aca 100755
--- a/.gitlab/deployment_scripts/update_secret.sh
+++ b/.gitlab/deployment_scripts/update_secret.sh
@@ -5,11 +5,6 @@ set -e
 HELM_RELEASE_NAME=${HELM_RELEASE_NAME:0:53}
 HELM_RELEASE_NAME=${HELM_RELEASE_NAME%%*(-)}
 
-kubectl config get-contexts
-kubectl config use-context open-source/MetaGer:metager
-
-kubectl get pods
-
 # Create/Update the secret
 kubectl -n $KUBE_NAMESPACE create secret generic ${HELM_RELEASE_NAME} \
   --from-file=${ENV_PRODUCTION} \
-- 
GitLab