Adding logging around repo
[osm/devops.git] / installers / full_install_osm.sh
index 54d77be..22cba8d 100755 (executable)
@@ -872,6 +872,7 @@ data:
 
 #installs metallb from helm
 function install_helm_metallb() {
+    METALLB_VERSION="0.11.0"
     METALLB_IP_RANGE=$DEFAULT_IP/32
     echo "configInline:
   address-pools:
@@ -881,7 +882,7 @@ function install_helm_metallb() {
      - $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
+    helm install --create-namespace --namespace metallb-system metallb metallb/metallb --version ${METALLB_VERSION} -f $OSM_DOCKER_WORK_DIR/metallb-config.yaml
 }
 
 #checks openebs and metallb readiness