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
892dd93b35
commit
8bdeb7bfc3
@ -60,6 +60,9 @@ fi
|
||||
if [[ "$action" == "print" ]]; then
|
||||
createHelmYaml
|
||||
elif [[ "$action" == "deploy" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then
|
||||
kubectl version --kubeconfig=/home/notroot/.kube/config
|
||||
createHelmYaml | tee | kubectl apply --kubeconfig=/home/notroot/.kube/config -f -
|
||||
elif [[ "$action" == "deploy-dry-run" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then
|
||||
kubectl version --kubeconfig=/home/notroot/.kube/config
|
||||
createHelmYaml | tee | kubectl apply --kubeconfig=/home/notroot/.kube/config --dry-run=client -o yaml -f -
|
||||
elif [[ "$action" == "deploy" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user