X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=service-exposure%2Fstart_pods.sh;fp=service-exposure%2Fstart_pods.sh;h=f1dc5155013c2e8cec62bfb96a8d1fae63fd0ebd;hb=2513eea5c9c4a1685ab6cbf0c2727d21399de5c7;hp=f4281c98b0598e59b435236e99ac9703c947773e;hpb=f84f8e33ada82e3f9ea9cfbfe0dbc7f80e9986ea;p=nonrtric.git diff --git a/service-exposure/start_pods.sh b/service-exposure/start_pods.sh index f4281c98..f1dc5155 100644 --- a/service-exposure/start_pods.sh +++ b/service-exposure/start_pods.sh @@ -18,8 +18,31 @@ # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= # +export host=$(minikube ip) -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