|
|
@ -21,6 +21,12 @@ kubectl create namespace "$NAMESPACE" |
|
|
|
|
|
|
|
helm install -f "$DIR/ci_values.yaml" -n "$NAMESPACE" "$HELM_PACKAGE" "$1" |
|
|
|
|
|
|
|
while [ ! $(kubectl get pod -n "$NAMESPACE" | wc -l) -gt 0 ] |
|
|
|
do |
|
|
|
echo "No pods in namespace..." |
|
|
|
sleep 2 |
|
|
|
done |
|
|
|
|
|
|
|
i=0 |
|
|
|
while [[ $(kubectl get pod -n "$NAMESPACE" -o jsonpath='{.items[*].status.containerStatuses[0].ready}') == *"false"* ]]; do |
|
|
|
echo "Covidok backend is not yet ready..." |
|
|
|