Wait until resource exist to wait on it (#2136)
This commit is contained in:
committed by
GitHub
parent
f792d7a476
commit
bfa05616b1
@@ -64,6 +64,7 @@ function install_operator() {
|
|||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
echo "Waiting for Operator Pods to come online (2m timeout)"
|
echo "Waiting for Operator Pods to come online (2m timeout)"
|
||||||
|
wait_for_resource minio-operator $value $key
|
||||||
try kubectl wait --namespace minio-operator \
|
try kubectl wait --namespace minio-operator \
|
||||||
--for=condition=ready pod \
|
--for=condition=ready pod \
|
||||||
--selector $key=$value \
|
--selector $key=$value \
|
||||||
|
|||||||
Reference in New Issue
Block a user