Skip to content
Snippets Groups Projects
Commit 15251551 authored by garciadav's avatar garciadav
Browse files

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 "<IP>-<IP>" to CIDR format: "<IP>/32"

Change-Id: If879fab2b272927a6a8ffda00f9c49f218224ac0
Signed-off-by: default avatarDavid Garcia <david.garcia@canonical.com>
parent 04812569
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment