Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 15s
All checks were successful
Build docker container / Build image (push) Successful in 15s
This commit is contained in:
parent
42bb5e7f86
commit
2898a4efc5
@ -90,9 +90,10 @@ elif [[ "$action" == "helm-print" ]]; then
|
||||
elif [[ "$action" == "helm-deploy" ]]; then
|
||||
checkKubeConfig
|
||||
helm dependency build .
|
||||
helm template -g --set-json="subchartData=$(yq '.dependencies[0]' Chart.yaml -ojson | jq -rc)" .
|
||||
hemlYaml=$(helm template -g --set-json="subchartData=$(yq '.dependencies[0]' Chart.yaml -ojson | jq -rc)" .)
|
||||
echo "$helmYaml"
|
||||
sleep 10
|
||||
helm template -g --set-json="subchartData=$(yq '.dependencies[0]' Chart.yaml -ojson | jq -rc)" . | kubectl apply -f -
|
||||
echo "$helmYaml" | kubectl apply -f -
|
||||
else
|
||||
echo "# invalid action"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user