From 02609d9c7d62448a1b51b41befdfd0bc6da14d75 Mon Sep 17 00:00:00 2001 From: aguilard Date: Thu, 27 Apr 2023 09:47:27 +0000 Subject: [PATCH] Feature 10981: fix bug in AlertMgr installation Change-Id: I83fd859d14fc64dc2b2e3328ce79577fffd619ce Signed-off-by: aguilard --- installers/install_ngsa.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installers/install_ngsa.sh b/installers/install_ngsa.sh index b90c3dc0..151b6860 100755 --- a/installers/install_ngsa.sh +++ b/installers/install_ngsa.sh @@ -62,6 +62,9 @@ function install_prometheus_pushgateway() { # Install Prometheus AlertManager helm chart function install_prometheus_alertmanager() { [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function + # copy alertmanager-values.yaml to the destination folder + sudo mkdir -p ${OSM_HELM_WORK_DIR} + sudo cp ${OSM_DEVOPS}/installers/helm/values/alertmanager-values.yaml ${OSM_HELM_WORK_DIR} if ! helm -n osm status alertmanager 2> /dev/null ; then # if it does not exist, install helm repo add prometheus-community https://prometheus-community.github.io/helm-charts -- 2.25.1