Change-Id: Ie204ec54165fb129605f1e56b364044bb6cfac2f
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
#installs metallb from helm
function install_helm_metallb() {
+ METALLB_VERSION="0.11.0"
METALLB_IP_RANGE=$DEFAULT_IP/32
echo "configInline:
address-pools:
- $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