diff --git a/03_launch_mgmt_cluster.sh b/03_launch_mgmt_cluster.sh index 477c537e1..420d42a49 100755 --- a/03_launch_mgmt_cluster.sh +++ b/03_launch_mgmt_cluster.sh @@ -261,7 +261,11 @@ function update_capm3_imports(){ pushd "${CAPM3PATH}" # Modify the kustomization imports to use local BMO repo instead of Github Main - make kustomize + if [[ "${CAPM3BRANCH}" == "release-1.5" ]] || [[ "${CAPM3BRANCH}" == "release-1.4" ]]; then + make hack/tools/bin/kustomize + else + make kustomize + fi ./hack/tools/bin/kustomize build "${IPAMPATH}/config/default" > config/ipam/metal3-ipam-components.yaml sed -i -e "s#https://github.com/metal3-io/ip-address-manager/releases/download/v.*/ipam-components.yaml#metal3-ipam-components.yaml#" "config/ipam/kustomization.yaml"