Skip to content

Commit

Permalink
Fix path for creation of kubeconfig directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Apr 22, 2022
1 parent cf3f799 commit 0cc6240
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ NAMESPACE_FILE="/var/run/secrets/kubernetes.io/serviceaccount/namespace"

if [ -f /opt/eduk8s/config/kubeconfig.yaml ]; then
if [ ! -f $HOME/.kube/config ]; then
mkdir -p $HOME/.kube/config
mkdir -p $HOME/.kube
cp /opt/eduk8s/config/kubeconfig.yaml $HOME/.kube/config
fi
fi
Expand Down

0 comments on commit 0cc6240

Please sign in to comment.