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

This commit is contained in:
ties 2024-08-27 12:40:36 +00:00
parent d6bd0c79d0
commit bba4d038de

View File

@ -61,7 +61,7 @@ if [[ "$action" == "print" ]]; then
createHelmYaml
elif [[ "$action" == "deploy" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then
kubectl version --kubeconfig=/home/notroot/.kube/config
createHelmYaml | tee | kubectl apply -v --dry-run=client -f -
createHelmYaml | tee | kubectl apply --dry-run=client -f -
elif [[ "$action" == "deploy" ]]; then
echo "# no .kube/config set"
kubectl version --client=true