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 -