Skip to content

Commit

Permalink
fix order
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Lamarre <[email protected]>
  • Loading branch information
alexandreLamarre committed Apr 16, 2024
1 parent a6fd6bf commit bea5625
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/setup-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@ wait_for_nodes(){
}

k3d cluster create ${CLUSTER_NAME}
kubectl cluster-info --context k3d-${CLUSTER_NAME}
kubectl config use-context k3d-${CLUSTER_NAME}
kubectl get nodes -o wide


wait_for_nodes

echo "${CLUSTER_NAME} ready"

kubectl cluster-info --context k3d-${CLUSTER_NAME}
kubectl config use-context k3d-${CLUSTER_NAME}
kubectl get nodes -o wide

IMAGE=${REPO}/backup-restore-operator:${TAG}

k3d image import ${IMAGE} -c ${CLUSTER_NAME}

0 comments on commit bea5625

Please sign in to comment.