Skip to content

Commit

Permalink
Merge pull request #1341 from Nordix/fix/capm3-kustomize
Browse files Browse the repository at this point in the history
Fix kustomize phony for older CAPM3 branches
  • Loading branch information
metal3-io-bot authored Jan 23, 2024
2 parents 274e675 + 5c22534 commit d3705d5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 03_launch_mgmt_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d3705d5

Please sign in to comment.