From: David Garcia Date: Wed, 3 Nov 2021 10:31:18 +0000 (+0100) Subject: Fix bug 1727: fix metallb ip range X-Git-Tag: v10.1.0-rc1~28 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F11302%2F2;hp=04812569044e21e47025e833336bce9c4169203d;p=osm%2Fdevops.git Fix bug 1727: fix metallb ip range Metallb was complaining when indicating an IP range of a single IP. This commit changes the IP range "-" to CIDR format: "/32" Change-Id: If879fab2b272927a6a8ffda00f9c49f218224ac0 Signed-off-by: David Garcia --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 8d0c13bd..d7eec946 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -851,7 +851,7 @@ function install_k8s_storageclass() { } function install_k8s_metallb() { - METALLB_IP_RANGE=$DEFAULT_IP-$DEFAULT_IP + METALLB_IP_RANGE=$DEFAULT_IP/32 kubectl apply -f ${OSM_DEVOPS}/installers/k8s/metallb/metallb.yaml \ || FATAL "Cannot install MetalLB" echo "apiVersion: v1 @@ -871,7 +871,7 @@ data: #installs metallb from helm function install_helm_metallb() { - METALLB_IP_RANGE=$DEFAULT_IP-$DEFAULT_IP + METALLB_IP_RANGE=$DEFAULT_IP/32 echo "configInline: address-pools: - name: default