新增docker和K8S一键部署脚本

pull/72/head
starsliao 2023-07-27 03:46:13 +08:00
parent 4925cc8479
commit 3dcaecc996
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,11 @@
#!/bin/bash
uuid=`uuidgen`
passwd="tensuns"
echo ""
read -p "请设置登录后羿运维平台的admin密码" passwd
if [ -z $passwd ]; then
passwd="tensuns"
echo -e "\n未输入使用默认密码\033[31;1mtensuns\033[0m\n"
fi
cat <<EOF > 1.consul-deploy.yaml
apiVersion: v1