From 1f4d6803d24d00c34052a5ad9b283cbdb225bf08 Mon Sep 17 00:00:00 2001 From: ties Date: Fri, 6 Sep 2024 10:31:45 +0000 Subject: [PATCH] Update createHelmYaml.sh --- createHelmYaml.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/createHelmYaml.sh b/createHelmYaml.sh index 17964eb..afcc0c4 100644 --- a/createHelmYaml.sh +++ b/createHelmYaml.sh @@ -41,6 +41,7 @@ function printRaw(){ function deployRaw(){ printRaw + checkKubeConfig kubectl apply -f . } @@ -50,8 +51,8 @@ function printHelm(){ } function deployHelm(){ - checkKubeConfig printHelm + checkKubeConfig echo "Deploying in 5 seconds..." sleep 5 helm template -g --set-json="chart_template.subchartData=$(yq '.dependencies[] | select(.condition == "subchart")' Chart.yaml -ojson | jq -rc)" . | kubectl apply -f -