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

This commit is contained in:
ties 2024-08-29 08:45:29 +00:00
parent cbfdc59874
commit 1ec8d81ed8

View File

@ -69,6 +69,8 @@ elif [[ "$action" == "deploy-dry-run" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then
elif [[ "$action" == "deploy" ]]; then 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
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"
find . -type f -print -exec cat {} \; find . -type f -print -exec cat {} \;