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 23, 2024
1 parent 4b2995d commit 0125b85
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 0125b85

Please sign in to comment.