mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-11-26 01:12:18 +00:00
Compare commits
No commits in common. "0df7c1cec5894522fc0f132b271a8c2132279c52" and "b5bbc4e7a8d8ce1b78e0bfc272b2f63163aa9e1a" have entirely different histories.
0df7c1cec5
...
b5bbc4e7a8
2 changed files with 1 additions and 6 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -13,7 +13,3 @@ terraform.rc
|
||||||
ssh_private_key_packer.pem
|
ssh_private_key_packer.pem
|
||||||
*.auto.pkrvars.hcl
|
*.auto.pkrvars.hcl
|
||||||
*.cer
|
*.cer
|
||||||
|
|
||||||
# misc local configs
|
|
||||||
env.sh
|
|
||||||
|
|
||||||
|
|
|
@ -383,11 +383,10 @@ else
|
||||||
done
|
done
|
||||||
echo ">> Continuing after $((attempt*10)) seconds."
|
echo ">> Continuing after $((attempt*10)) seconds."
|
||||||
echo ">> Retrieving cluster discovery config..."
|
echo ">> Retrieving cluster discovery config..."
|
||||||
sleep 2
|
|
||||||
attempts_max=6
|
attempts_max=6
|
||||||
attempt=0
|
attempt=0
|
||||||
until [ -f ~/discovery.yaml ] || [ ${attempt} -eq ${attempts_max} ]; do
|
until [ -f ~/discovery.yaml ] || [ ${attempt} -eq ${attempts_max} ]; do
|
||||||
curl -o discovery.yaml --fail "http://${K8S_CONTROLPLANE_VIP}:8000/discovery.yaml" 2>/dev/null
|
wget "http://${K8S_CONTROLPLANE_VIP}:8000/discovery.yaml"
|
||||||
sleep 2
|
sleep 2
|
||||||
if ! [ -f ~/discovery.yaml ]; then
|
if ! [ -f ~/discovery.yaml ]; then
|
||||||
echo ">> Unable to retrieve config..."
|
echo ">> Unable to retrieve config..."
|
||||||
|
|
Loading…
Reference in a new issue