From 9593baa15236725a5bd8a3beea90e21f2d64cea3 Mon Sep 17 00:00:00 2001 From: ties Date: Tue, 27 Aug 2024 11:16:40 +0000 Subject: [PATCH] Update createHelmYaml.sh --- createHelmYaml.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/createHelmYaml.sh b/createHelmYaml.sh index 62ecad5..3c8bb45 100644 --- a/createHelmYaml.sh +++ b/createHelmYaml.sh @@ -48,14 +48,13 @@ if [[ -z "$KUBECONFIG_DATA" ]]; then # echo "# Installing ~/.kube/config" mkdir -p /home/notroot/.kube echo "$KUBECONFIG_DATA" > /home/notroot/.kube/config - ls "/home/notroot/.kube" fi # Check if the action environment variable is set to 'print' if [[ "$action" == "print" ]]; then createHelmYaml elif [[ -z "$KUBECONFIG_DATA" ]]; then - wc -l ~/.kube/config + wc -l /home/notroot/.kube/config kubectl version --client=true else kubectl version --client=true