From 8a1d12db6a06d1c6a13b4c80306339492688003e Mon Sep 17 00:00:00 2001 From: aguilard Date: Wed, 13 Jul 2022 11:26:59 +0200 Subject: [PATCH] Fix bug 2115 to pin MetalLB version in OSM install script Change-Id: Ie204ec54165fb129605f1e56b364044bb6cfac2f Signed-off-by: aguilard --- installers/full_install_osm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.25.1