diff --git a/createHelmYaml.sh b/createHelmYaml.sh index 2038b79..cd14ae9 100644 --- a/createHelmYaml.sh +++ b/createHelmYaml.sh @@ -53,7 +53,7 @@ fi # Check if the action environment variable is set to 'print' if [[ "$action" == "print" ]]; then createHelmYaml -elif [[ -z "$KUBECONFIG_DATA" ]]; then +elif [[ "$KUBECONFIG_DATA" ]]; then wc -l /home/notroot/.kube/config ls -alh /home/notroot/.kube/config kubectl version --client=true