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 0cde823 commit 481a5c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions az-svc-deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ 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
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $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 481a5c3

Please sign in to comment.