4 SCRIPTDIR="$(readlink -f $(dirname ${BASH_SOURCE[0]}))"
5 LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib"
7 source $LIBDIR/common.sh
10 curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/${CAPI_VERSION}/clusterctl-linux-amd64 -o clusterctl
11 sudo install -o root -g root -m 0755 clusterctl /usr/local/bin/clusterctl
19 Usage: $(basename $0) COMMAND
22 deploy - Deploy clusterctl