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 repo is set, add it to the spec
|
||||||
if [[ -n "$repo" ]]; then
|
if [[ -n "$repo" ]]; then
|
||||||
helm_chart_yaml=$(echo "$helm_chart_yaml" | yq eval ".spec.repo = \"$repo\"")
|
helm_chart_yaml=$(echo "$helm_chart_yaml" | yq eval ".spec.repo = \"$repo\"")
|
||||||
elif
|
|
||||||
kubectl version
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Print the final YAML to stdout
|
# Print the final YAML to stdout
|
||||||
@ -48,6 +46,6 @@ createHelmYaml() {
|
|||||||
# Check if the action environment variable is set to 'print'
|
# Check if the action environment variable is set to 'print'
|
||||||
if [[ "$action" == "print" ]]; then
|
if [[ "$action" == "print" ]]; then
|
||||||
createHelmYaml
|
createHelmYaml
|
||||||
else:
|
else
|
||||||
kubectl version --client=true
|
kubectl version --client=true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user