From 1ec8d81ed88e5c6b63584e08c61b30fd16b008c2 Mon Sep 17 00:00:00 2001 From: ties Date: Thu, 29 Aug 2024 08:45:29 +0000 Subject: [PATCH] Update createHelmYaml.sh --- createHelmYaml.sh | 2 ++ 1 file changed, 2 insertions(+) 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 {} \;