Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 10s
All checks were successful
Build docker container / Build image (push) Successful in 10s
This commit is contained in:
parent
4d3af37371
commit
1761d41fc6
@ -62,6 +62,9 @@ if [[ "$action" == "print" ]]; then
|
|||||||
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 -f -
|
||||||
else
|
elif [[ "$action" == "deploy" ]]; then
|
||||||
|
echo "# no .kube/config set"
|
||||||
kubectl version --client=true
|
kubectl version --client=true
|
||||||
|
else
|
||||||
|
echo "# invalid action"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user