X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=service-exposure%2Fstart_pods.sh;h=391784eaf77bbe3e6bb7f585b21d459a6635303a;hb=refs%2Fchanges%2F50%2F12350%2F1;hp=f4281c98b0598e59b435236e99ac9703c947773e;hpb=073269a87bdbe3ef450d933d0e7e6a5f730c8b67;p=nonrtric.git diff --git a/service-exposure/start_pods.sh b/service-exposure/start_pods.sh old mode 100644 new mode 100755 index f4281c98..391784ea --- a/service-exposure/start_pods.sh +++ b/service-exposure/start_pods.sh @@ -19,7 +19,29 @@ # ============LICENSE_END========================================================= # -kubectl create -f chartmuseum.yaml +echo "Deploying applications..." +echo "-------------------------" +kubectl create -f chartmuseum.yaml kubectl create -f rapps-keycloak-mgr.yaml kubectl create -f rapps-istio-mgr.yaml kubectl create -f rapps-helm-installer.yaml +kubectl create -f rapps-webhook.yaml + +echo "" +echo "Waiting for pods to start..." +echo "----------------------------" +kubectl wait deployment -n default chartmuseum-deployment --for=condition=available --timeout=90s +kubectl wait deployment -n default rapps-keycloak-mgr-deployment --for=condition=available --timeout=90s +kubectl wait deployment -n default rapps-istio-mgr-deployment --for=condition=available --timeout=90s +kubectl wait deployment -n default rapps-helm-installer-deployment --for=condition=available --timeout=90s +kubectl wait deployment -n default jwt-proxy-admission-controller-deployment --for=condition=available --timeout=90s + +echo "" +echo "Configure sidecar injection..." +echo "----------------------------" +kubectl create -f MutatingWebhookConfiguration.yaml + +echo "" +echo "Checking pod status..." +echo "----------------------" +kubectl get pods -n default