fix
This commit is contained in:
parent
19766ba1a1
commit
bbbd644c88
@ -1,9 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
source .env
|
|
||||||
|
|
||||||
|
|
||||||
apiserver="__API_SERVER__"
|
apiserver="__API_SERVER__"
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user