From 8564f98c1b372380dfcd191471c4f4e546dbf9de Mon Sep 17 00:00:00 2001 From: ties Date: Tue, 27 Aug 2024 10:50:15 +0000 Subject: [PATCH] Update createHelmYaml.sh --- createHelmYaml.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/createHelmYaml.sh b/createHelmYaml.sh index 99b39ff..f879790 100644 --- a/createHelmYaml.sh +++ b/createHelmYaml.sh @@ -37,8 +37,6 @@ createHelmYaml() { # If repo is set, add it to the spec if [[ -n "$repo" ]]; then helm_chart_yaml=$(echo "$helm_chart_yaml" | yq eval ".spec.repo = \"$repo\"") - elif - kubectl version fi # Print the final YAML to stdout @@ -48,6 +46,6 @@ createHelmYaml() { # Check if the action environment variable is set to 'print' if [[ "$action" == "print" ]]; then createHelmYaml -else: +else kubectl version --client=true fi