Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 11s
All checks were successful
Build docker container / Build image (push) Successful in 11s
This commit is contained in:
parent
d95bb13c80
commit
8564f98c1b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user