fix for error messages

This commit is contained in:
Karim Naufal
2022-02-12 01:45:25 +01:00
parent 75fd63da1e
commit e6b12a172c
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ resource "hcloud_server" "first_control_plane" {
echo "Waiting for kubectl config..."
sleep 1
done
until [[ "\$(kubectl get --raw='/readyz')" == "ok" ]]; do
until [[ "\$(kubectl get --raw='/readyz' 2> /dev/null)" == "ok" ]]; do
echo "Waiting for cluster to become ready..."
sleep 1
done