Commit c4d6578e by tingweiwang

fix bug

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