diff --git a/createHelmYaml.sh b/createHelmYaml.sh index 2561778..ebbf648 100644 --- a/createHelmYaml.sh +++ b/createHelmYaml.sh @@ -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 {} \;