Fix bug 1742 to update helm repo before installing metallb 10/11310/3
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 8 Nov 2021 10:34:15 +0000 (11:34 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 18 Nov 2021 11:05:28 +0000 (12:05 +0100)
Change-Id: I6cf974478d173f786f5a601fabc2877023ad82e7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh

index b43ff7d..b232b4c 100755 (executable)
@@ -879,6 +879,7 @@ function install_helm_metallb() {
      addresses:
      - $METALLB_IP_RANGE" | sudo tee -a $OSM_DOCKER_WORK_DIR/metallb-config.yaml
     helm repo add metallb https://metallb.github.io/metallb
+    helm repo update
     helm install --create-namespace --namespace metallb-system metallb metallb/metallb -f $OSM_DOCKER_WORK_DIR/metallb-config.yaml
 }