From 1c8d1adc3be29554096a4812cd94e11b59bfb6f3 Mon Sep 17 00:00:00 2001 From: ties Date: Tue, 27 Aug 2024 10:53:24 +0000 Subject: [PATCH] Update createHelmYaml.sh --- createHelmYaml.sh | 2 ++ 1 file changed, 2 insertions(+) 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