This commit is contained in:
zhanglikun 2023-09-12 17:48:48 +08:00
parent 19766ba1a1
commit bbbd644c88
2 changed files with 1 additions and 7 deletions

View File

@ -1,9 +1,6 @@
#!/bin/bash #!/bin/bash
set -euo pipefail set -euo pipefail
source .env
apiserver="__API_SERVER__" apiserver="__API_SERVER__"

View File

@ -8,11 +8,8 @@ if [ $(id -u) != "0" ]; then
exit 1 exit 1
fi fi
source .env
cd scripts cd scripts
./1-init.sh ./1-init.sh
sed -e "s/__API_SERVER__/${VIP}/g" -i 2-create_k8s.sh sed -e "s/^apiserver=.*/apiserver=${VIP}/g" -i 2-create_k8s.sh
./2-create_k8s.sh ./2-create_k8s.sh
./3-nginx_ingress.sh ./3-nginx_ingress.sh