Commit c4d6578e by tingweiwang

fix bug

1 parent 65742518
Showing with 12 additions and 6 deletions
......@@ -24,21 +24,27 @@ kubectl delete -f k8s_yaml
}
############################################
create_all() {
sed_yaml
kubectl apply -f k8s_yaml
recover_yaml
}
##########################################
deploy_test ()
redeploy ()
{
delt_all
create_all
}
case $1 in
test)
deploy_test
redeploy)
redeploy
;;
dev)
deploy_dev
private)
private
;;
*)
echo "please input (test|dev)"
echo "please input (redeploy|private)"
esac
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!