Skip to content

Commit

Permalink
Update az-svc-deployment.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vimal-knoldus authored Sep 24, 2023
1 parent b6a3fca commit fc9d929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions az-svc-deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ echo "--------docker build done, docker push---------------"
sudo docker push ntdemocontainerregistry.azurecr.io/"$SERVICE_NAME":"$GITHUB_SHA"
echo "--------pushed docker image, deploy to aks cluster--------------------------"

sudo az login --service-principal -u 4535b4bf-5f2a-4d46-9f61-f5889ba6592a -p Dan8Q~u3Wg~yK_Zw8MzqUgkXbYuKW-DoHGwnucwg --tenant 17742d94-229e-4be7-b2a9-75ba757f345b
sudo az aks get-credentials --resource-group "$RESOURCE_GROUP_NAME" --name "$AKS_CLUSTER"
# setup kustomize
curl -sfLo kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
Expand Down

0 comments on commit fc9d929

Please sign in to comment.