Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 11s

This commit is contained in:
ties 2024-08-27 10:50:15 +00:00
parent d95bb13c80
commit 8564f98c1b

View File

@ -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