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

This commit is contained in:
ties 2024-08-27 12:28:47 +00:00
parent 1761d41fc6
commit 3c3d1481bb

View File

@ -61,7 +61,7 @@ if [[ "$action" == "print" ]]; then
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
createHelmYaml | tee | kubectl apply -v -f - createHelmYaml | tee | kubectl apply -v --dry-run -f -
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