From c4d0b311063e3bc13cf47ac0c511729174eb4b77 Mon Sep 17 00:00:00 2001
From: andresanaya21 <alvaroandres.anayaamariles@telefonica.com>
Date: Thu, 23 May 2024 09:40:27 +0200
Subject: [PATCH] helm command

---
 capif/templates/cd-deploy-ocf.gitlab-ci.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/capif/templates/cd-deploy-ocf.gitlab-ci.yml b/capif/templates/cd-deploy-ocf.gitlab-ci.yml
index eb298fe..6ff2073 100644
--- a/capif/templates/cd-deploy-ocf.gitlab-ci.yml
+++ b/capif/templates/cd-deploy-ocf.gitlab-ci.yml
@@ -134,9 +134,7 @@ deploy_ocf_dev:
     - helm dependency build helm/capif
     - echo "### updating capif###"
     - helm uninstall -n $NAMESPACE_DEV ocf-developer || true
-    - helm upgrade --install -n $NAMESPACE_DEV ocf-developer helm/capif/ \
-      --set nginx.nginx.env.capifHostname=capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \
-      --set nginx.nginx.env.registerHostname=register-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \
+    - helm upgrade --install -n $NAMESPACE_DEV ocf-developer helm/capif/ --set nginx.nginx.env.capifHostname=capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV --set nginx.nginx.env.registerHostname=register-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \
       --set monitoring.grafana.ingress.hosts[0].host="grafana-$CI_ENVIRONMENT_SLUG.$DOMAIN_PROD" \
       --set monitoring.grafana.ingress.hosts[0].paths[0].path="/" \
       --set monitoring.grafana.ingress.hosts[0].paths[0].pathType="Prefix" \
-- 
GitLab