Skip to content

Commit

Permalink
FIX: Don't deploy metallb if no ip range defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred78290 committed Oct 10, 2024
1 parent c512102 commit 2032c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/create-deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fi

if [ "${DEPLOY_COMPONENTS}" == "YES" ]; then
# Create Pods
if [ ${PLATEFORM} != "aws" ] && [ ${PLATEFORM} != "openstack" ] && [ ${PLATEFORM} != "cloudstack" ] && [ ${USE_NLB} != "keepalived" ]; then
if [ -n "${METALLB_IP_RANGE}" ] && [ ${PLATEFORM} != "aws" ] && [ ${PLATEFORM} != "openstack" ] && [ ${PLATEFORM} != "cloudstack" ] && [ ${USE_NLB} != "keepalived" ]; then
echo_title "Create MetalLB"
create-metallb.sh
fi
Expand Down

0 comments on commit 2032c95

Please sign in to comment.