Update createHelmYaml.sh

This commit is contained in:
ties 2024-08-28 11:08:10 +00:00
parent 114c248a5d
commit 1ffdd9e6f9

View File

@ -59,6 +59,10 @@ fi
# Check if the action environment variable is set to 'print' # Check if the action environment variable is set to 'print'
if [[ "$action" == "print" ]]; then if [[ "$action" == "print" ]]; then
pwd
echo "----"
ls -1
echo "----"
createHelmYaml createHelmYaml
elif [[ "$action" == "deploy" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then elif [[ "$action" == "deploy" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then
kubectl version --kubeconfig=/home/notroot/.kube/config kubectl version --kubeconfig=/home/notroot/.kube/config