Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 11s
All checks were successful
Build docker container / Build image (push) Successful in 11s
This commit is contained in:
parent
5b0a0cd58d
commit
892dd93b35
@ -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 --kubeconfig=/home/notroot/.kube/config --dry-run=client -f -
|
createHelmYaml | tee | kubectl apply --kubeconfig=/home/notroot/.kube/config --dry-run=client -o yaml -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user