From 59d50bf3a8238fa56cbc6bb2c570f0398faf87b6 Mon Sep 17 00:00:00 2001
From: andresanaya21 <alvaroandres.anayaamariles@telefonica.com>
Date: Fri, 14 Jun 2024 12:08:27 +0200
Subject: [PATCH] ocf-mon-

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

diff --git a/capif/templates/cd-deploy-ocf.gitlab-ci.yml b/capif/templates/cd-deploy-ocf.gitlab-ci.yml
index 47d1423..e0bbbc4 100644
--- a/capif/templates/cd-deploy-ocf.gitlab-ci.yml
+++ b/capif/templates/cd-deploy-ocf.gitlab-ci.yml
@@ -90,7 +90,7 @@ deploy_ocf_staging:
       helm dependency build helm/capif
       echo "### updating capif###"
       helm upgrade --install -n $NAMESPACE_DEV ocf-pre-staging helm/capif/ \
-      --set monitoring.grafana.ingress.hosts[0].host=capif-$CI_COMMIT_REF_SLUG.$DOMAIN_STAGING \
+      --set monitoring.grafana.ingress.hosts[0].host=ocf-mon-$CI_COMMIT_REF_SLUG.$DOMAIN_STAGING \
       --set monitoring.grafana.ingress.hosts[0].paths[0].path="/" \
       --set monitoring.grafana.ingress.hosts[0].paths[0].pathType="Prefix" \
       --set monitoring.grafana.env.prometheusURL=http://prometheus.ocf.pre-production \
@@ -245,7 +245,7 @@ deploy_ocf_oficial_staging:
       helm dependency build helm/capif
       echo "### updating capif###"
       helm upgrade --install -n $NAMESPACE_STAGING ocf-developer helm/capif/ \
-      --set monitoring.grafana.ingress.hosts[0].host=capif-staging.$DOMAIN_STAGING \
+      --set monitoring.grafana.ingress.hosts[0].host=ocf-mon-staging.$DOMAIN_STAGING \
       --set monitoring.grafana.ingress.hosts[0].paths[0].path="/" \
       --set monitoring.grafana.ingress.hosts[0].paths[0].pathType="Prefix" \
       --set monitoring.grafana.env.prometheusURL=http://prometheus.ocf.pre-production \
@@ -393,7 +393,7 @@ deploy_ocf_dev:
       helm dependency build helm/capif
       echo "### updating capif###"
       helm upgrade --install -n $NAMESPACE_DEV ocf-developer helm/capif/ \
-      --set monitoring.grafana.ingress.hosts[0].host=capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \
+      --set monitoring.grafana.ingress.hosts[0].host=ocf-mon-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \
       --set monitoring.grafana.ingress.hosts[0].paths[0].path="/" \
       --set monitoring.grafana.ingress.hosts[0].paths[0].pathType="Prefix" \
       --set monitoring.grafana.env.prometheusURL=http://prometheus.ocf.pre-production \
-- 
GitLab