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

This commit is contained in:
ties 2024-09-06 10:31:45 +00:00
parent c43effd168
commit 1f4d6803d2

View File

@ -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 -