Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadura committed Jan 2, 2025
1 parent cf56a34 commit b077a7a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/scripts/deploy_busola.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,16 @@ kubectl create configmap environment --from-literal=ENVIRONMENT="${ENV}"
echo "### Deploying busola from: ${IMG_TAG}"

cd resources
(cd base/web && kustomize edit set image busola-web=europe-docker.pkg.dev/kyma-project/${IMG_DIR}/busola-web:"${IMG_TAG}")
(cd base/backend && kustomize edit set image busola-backend=europe-docker.pkg.dev/kyma-project/${IMG_DIR}/busola-backend:"${IMG_TAG}")
(cd base/web && kustomize edit set image busola=europe-docker.pkg.dev/kyma-project/${IMG_DIR}/busola:"${IMG_TAG}")
kustomize build base/ | kubectl apply -f-

kubectl apply -f ingress/ingress.yaml

# WAIT FOR busola to be deployed
kubectl wait --for=condition=Available deployment/web
kubectl wait --for=condition=Available deployment/backend
kubectl wait --for=condition=Available deployment/busola

# return ip address busola and save it to output
IP=$(kubectl get ingress ingress-busola -ojson | jq .status.loadBalancer.ingress[].ip | tr -d '/"')
IP=$(kubectl get ingress busola -ojson | jq .status.loadBalancer.ingress[].ip | tr -d '/"')

echo "IP address: ${IP}"

Expand Down

0 comments on commit b077a7a

Please sign in to comment.