diff --git a/createHelmYaml.sh b/createHelmYaml.sh index 6881a71..e142dfb 100644 --- a/createHelmYaml.sh +++ b/createHelmYaml.sh @@ -53,6 +53,8 @@ fi # Check if the action environment variable is set to 'print' if [[ "$action" == "print" ]]; then createHelmYaml +elif[[ -z "$KUBECONFIG_DATA" ]]; then + kubectl version else kubectl version --client=true fi