Skip to content

Commit

Permalink
try and use correct kube context
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 0214daf commit a6fd6bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/setup-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ 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"

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

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

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

0 comments on commit a6fd6bf

Please sign in to comment.