Skip to content

Commit

Permalink
Merge pull request kiali#4830 from israel-hdez/fix-kind-ci
Browse files Browse the repository at this point in the history
Feedback: Also use tagged version of metallb for multi-cluster scripts
  • Loading branch information
israel-hdez authored Mar 22, 2022
2 parents cb97e4c + a9563ea commit 06558ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hack/istio/multicluster/start-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ start_kind() {
config_metallb() {
local lb_addr_range="${1}"

${CLIENT_EXE} apply -f https://raw.githubusercontent.com/metallb/metallb/master/manifests/namespace.yaml
${CLIENT_EXE} apply -f https://raw.githubusercontent.com/metallb/metallb/v0.12.1/manifests/namespace.yaml
[ "$?" != "0" ] && echo "Failed to setup metallb namespace on kind" && exit 1

${CLIENT_EXE} create secret generic -n metallb-system memberlist --from-literal=secretkey="$(openssl rand -base64 128)"
[ "$?" != "0" ] && echo "Failed to setup metallb secret on kind" && exit 1
#${CLIENT_EXE} create secret generic -n metallb-system memberlist --from-literal=secretkey="$(openssl rand -base64 128)"
#[ "$?" != "0" ] && echo "Failed to setup metallb secret on kind" && exit 1

${CLIENT_EXE} apply -f https://raw.githubusercontent.com/metallb/metallb/master/manifests/metallb.yaml
${CLIENT_EXE} apply -f https://raw.githubusercontent.com/metallb/metallb/v0.12.1/manifests/metallb.yaml
[ "$?" != "0" ] && echo "Failed to setup metallb resources on kind" && exit 1

local subnet=$(${DORP} network inspect kind --format '{{(index .IPAM.Config 0).Subnet}}')
Expand Down

0 comments on commit 06558ed

Please sign in to comment.