From 16b5fb13e9514a40a48f183da220bbeffe02e490 Mon Sep 17 00:00:00 2001
From: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date: Wed, 20 Jan 2021 11:12:49 +0000
Subject: [PATCH] helm2 initialization with new stable repo URL

Change-Id: Ib44e50902215b23c69004fc799f147533bc0f714
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
---
 installers/full_install_osm.sh               | 2 +-
 installers/k8s/install_osm_k8s_monitoring.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh
index 2c0aa5c6..3ff278d1 100755
--- a/installers/full_install_osm.sh
+++ b/installers/full_install_osm.sh
@@ -861,7 +861,7 @@ function install_helm() {
         kubectl --namespace kube-system create serviceaccount tiller
         kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
         # HELM initialization
-        helm init --service-account tiller
+        helm init --stable-repo-url https://charts.helm.sh/stable --service-account tiller
 
         # Wait for Tiller to be up and running. If timeout expires, continue installing
         tiller_timeout=120;
diff --git a/installers/k8s/install_osm_k8s_monitoring.sh b/installers/k8s/install_osm_k8s_monitoring.sh
index badba810..df5c6021 100755
--- a/installers/k8s/install_osm_k8s_monitoring.sh
+++ b/installers/k8s/install_osm_k8s_monitoring.sh
@@ -124,7 +124,7 @@ if [ $? == 1 ] ; then
     kubectl --namespace kube-system create serviceaccount tiller
     kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
     # HELM initialization
-    helm init --service-account tiller
+    helm init --stable-repo-url https://charts.helm.sh/stable --service-account tiller
 
     # Wait for Tiller to be up and running
     while true
-- 
GitLab