From 531ee3fa4894d9b8f30f055bd0170df6e1e85c79 Mon Sep 17 00:00:00 2001 From: ties Date: Thu, 29 Aug 2024 09:13:58 +0000 Subject: [PATCH] Update createHelmYaml.sh --- createHelmYaml.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 {} \;