Skip to content

Commit

Permalink
Update azure deployment file
Browse files Browse the repository at this point in the history
  • Loading branch information
vimal-knoldus committed Sep 25, 2023
1 parent 481a5c3 commit e23214f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions az-svc-deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ echo "---------------set docker image for kustomize-------------------"
./kustomize edit set image ntdemocontainerregistry.azurecr.io/IMAGE:TAG=ntdemocontainerregistry.azurecr.io/"$SERVICE_NAME":"$GITHUB_SHA"
echo "---------------deploy through kubectl------------------"
# deploy through kubectl
echo "----Home dir-----"
echo $HOME
mkdir -p $HOME/.kube
sudo cp -i /home/anshuman/.kube/config $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
./kustomize build . | kubectl apply -f -
kubectl rollout status deployment/"$DEPLOYMENT_NAME"
Expand Down

0 comments on commit e23214f

Please sign in to comment.