From 0cc624027fe876b5a77c5f740b40f076fe06b698 Mon Sep 17 00:00:00 2001 From: Graham Dumpleton Date: Fri, 22 Apr 2022 21:33:17 +1000 Subject: [PATCH] Fix path for creation of kubeconfig directory. --- .../base-environment/opt/eduk8s/etc/setup.d/01-kubernetes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workshop-images/base-environment/opt/eduk8s/etc/setup.d/01-kubernetes.sh b/workshop-images/base-environment/opt/eduk8s/etc/setup.d/01-kubernetes.sh index c11fc837..311f3060 100755 --- a/workshop-images/base-environment/opt/eduk8s/etc/setup.d/01-kubernetes.sh +++ b/workshop-images/base-environment/opt/eduk8s/etc/setup.d/01-kubernetes.sh @@ -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