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

This commit is contained in:
ties 2024-08-29 09:13:58 +00:00
parent d157b334f8
commit 531ee3fa48

View File

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