Skip to content

Commit

Permalink
force specific kubectl 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 547140b commit 0214daf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/setup-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ echo "${CLUSTER_NAME} ready"

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

k3d image import ${IMAGE} -c ${CLUSTER_NAME}
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 0214daf

Please sign in to comment.