From: aguilard Date: Wed, 13 Jul 2022 09:26:59 +0000 (+0200) Subject: Fix bug 2115 to pin MetalLB version in OSM install script X-Git-Tag: v10.1.2~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=8a1d12db6a06d1c6a13b4c80306339492688003e;p=osm%2Fdevops.git Fix bug 2115 to pin MetalLB version in OSM install script Change-Id: Ie204ec54165fb129605f1e56b364044bb6cfac2f Signed-off-by: aguilard --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 54d77bec..22cba8d3 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -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