Fix bug 2115 to pin MetalLB version in OSM install script
Change-Id: Ie204ec54165fb129605f1e56b364044bb6cfac2f
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh
index 54d77be..22cba8d 100755
--- a/installers/full_install_osm.sh
+++ b/installers/full_install_osm.sh
@@ -872,6 +872,7 @@
#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 @@
- $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