Adding UI to K8s deployment (FINERACT-1419)

This commit is contained in:
Vic Romero
2021-12-23 22:25:22 +08:00
committed by Petri Tuomola
parent eade76ab25
commit b53fae870e
4 changed files with 111 additions and 3 deletions
+16 -1
View File
@@ -52,4 +52,19 @@ while [[ ${fineract_server_status} -ne 'Running' ]]; do
fineract_server_status=$(kubectl get pods ${fineract_server_pod} --no-headers -o custom-columns=":status.phase")
done
echo "Fineract server is up and running"
echo "Fineract server is up and running"
echo "Starting Mifos Community UI..."
kubectl apply -f fineract-mifoscommunity-deployment.yml
fineract_mifoscommunity_pod=""
while [[ ${#fineract_mifoscommunity_pod} -eq 0 ]]; do
fineract_mifoscommunity_pod=$(kubectl get pods -l tier=backend --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')
done
fineract_mifoscommunity_status=$(kubectl get pods ${fineract_mifoscommunity_pod} --no-headers -o custom-columns=":status.phase")
while [[ ${fineract_mifoscommunity_status} -ne 'Running' ]]; do
sleep 1
fineract_mifoscommunity_status=$(kubectl get pods ${fineract_mifoscommunity_pod} --no-headers -o custom-columns=":status.phase")
done
echo "Mifos Community UI is up and running"