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

This commit is contained in:
ties 2024-08-29 08:50:22 +00:00
parent 76d17871fb
commit 546e72e470

View File

@ -70,6 +70,7 @@ elif [[ "$action" == "deploy" ]]; then
echo "# no .kube/config set" echo "# no .kube/config set"
kubectl version --client=true kubectl version --client=true
elif [[ "$action" == "helm-print" ]]; then elif [[ "$action" == "helm-print" ]]; 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)"
elif [[ "$action" == "debug" ]]; then elif [[ "$action" == "debug" ]]; then
echo "# dumping files" echo "# dumping files"