undo readyz formatting...
...running into weird issues and keep getting 403, while it worked with the old formatting. maybe bash escaping?
This commit is contained in:
parent
92937f0081
commit
d56031951e
@ -95,12 +95,8 @@ resource "hcloud_server" "first_control_plane" {
|
||||
echo "Initiating the cluster..."
|
||||
sleep 2
|
||||
done
|
||||
timeout 120 bash <<EOF
|
||||
while [[ "$(curl -s -o /dev/null -w ''%%{http_code}'' curl -k https://localhost:6443/readyz)" != "200" ]]
|
||||
do
|
||||
echo "Waiting for cluster to become ready"
|
||||
sleep 1
|
||||
done
|
||||
timeout 120 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%%{http_code}'' curl -k https://localhost:6443/readyz)" != "200" ]]; do echo "Waiting for cluster to become ready"
|
||||
; sleep 1; done'
|
||||
EOF
|
||||
EOT
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user