Skip to content

Commit

Permalink
Fix k3d local setup prefix
Browse files Browse the repository at this point in the history
I was trying to use `setup_local_dev.sh`, and it wasn't working out of the box. Looks like it expects `k3d-` prefix for the kubecontext

Ran `setup_local_dev.sh`

Signed-off-by: Andrew Dye <[email protected]>
  • Loading branch information
andrewwdye committed Sep 25, 2024
1 parent 2887ac5 commit 289d450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/setup_local_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ fi
echo -e "\nSetting kubeconfig and kubectl context"

export KUBECONFIG=$KUBECONFIG:"${K3D_KUBECONFIG_FILE_PATH}"
kubectl config set-context $K3D_CLUSTER_NAME
kubectl config set-context k3d-$K3D_CLUSTER_NAME

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
HELM_CHART="${DIR}/../charts/flyte-deps"
Expand Down

0 comments on commit 289d450

Please sign in to comment.