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

This commit is contained in:
ties 2024-08-29 09:16:52 +00:00
parent ebaa0908e9
commit 9aacc107cc

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 -f - helm template -g . --set-json="subchartData=$(yq '.dependencies[0]' Chart.yaml -ojson | jq -rc)" | kubectl apply -v=8 -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 {} \;