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