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

This commit is contained in:
ties 2024-08-29 09:18:24 +00:00
parent 9aacc107cc
commit 9fac14076a

View File

@ -75,7 +75,7 @@ elif [[ "$action" == "helm-print" ]]; then
elif [[ "$action" == "helm-deploy" ]]; then elif [[ "$action" == "helm-deploy" ]]; then
helm dependency build . helm dependency build .
helm template -g . --set-json="subchartData=$(yq '.dependencies[0]' Chart.yaml -ojson | jq -rc)" helm template -g . --set-json="subchartData=$(yq '.dependencies[0]' Chart.yaml -ojson | jq -rc)"
helm template -g . --set-json="subchartData=$(yq '.dependencies[0]' Chart.yaml -ojson | jq -rc)" | kubectl apply -v=8 -f - helm template -g . --set-json="subchartData=$(yq '.dependencies[0]' Chart.yaml -ojson | jq -rc)" | kubectl apply -f -
elif [[ "$action" == "debug" ]]; then elif [[ "$action" == "debug" ]]; then
echo "# dumping files" echo "# dumping files"
find . -type f -print -exec cat {} \; find . -type f -print -exec cat {} \;