diff --git a/createHelmYaml.sh b/createHelmYaml.sh index f74d805..7669785 100644 --- a/createHelmYaml.sh +++ b/createHelmYaml.sh @@ -69,6 +69,8 @@ elif [[ "$action" == "deploy-dry-run" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then elif [[ "$action" == "deploy" ]]; then echo "# no .kube/config set" 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 echo "# dumping files" find . -type f -print -exec cat {} \;