From 3b04bd83798229c521d8c6d59a45524a53ae215d Mon Sep 17 00:00:00 2001 From: vimal-knoldus Date: Thu, 26 Oct 2023 15:17:27 +0530 Subject: [PATCH] Deployment change 261023 --- admin-service/azure-deploy-service.yaml | 4 ++-- az-svc-deployment.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin-service/azure-deploy-service.yaml b/admin-service/azure-deploy-service.yaml index 8ea75de6..4620a900 100644 --- a/admin-service/azure-deploy-service.yaml +++ b/admin-service/azure-deploy-service.yaml @@ -22,7 +22,7 @@ spec: protocol: TCP env: - name: COSMOS_KEY - value: LtF8VYAv0rEVomFaxvwbCXaWgQgfUPin65FLVGnYtIJdtG8weqx25nFQrkQ2XCGR6pcPZbEP99ohACDb8NEYqA== + value: kLApjiCXgRCIRvbN7rPoRyAvOeZlHZeeQGfKFICrlwWJ87XTcYovjtZefffvyYFfjoDZwuEzFvCKACDbHZxDSA== - name: COSMOS_URI value: https://az-nashtech-db.documents.azure.com:443/ - name: KAFKA_SERVER @@ -32,7 +32,7 @@ spec: - name: SASL_MECHANISM value: PLAIN - name: JASS_CONFIG - value: org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="Endpoint=sb://az-nashtech-eventhub.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=B87NtYTykYr5HGQA7sBekeIVafkRrGtMS+AEhNePjN8="; + value: org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="Endpoint=sb://ntdemoevtnamespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=kr/qfACiaY9oEQF+sERt1vJa5d1BBHxH0+AEhBFXTfQ="; - name: KEY_SERIALIZER value: org.apache.kafka.common.serialization.StringSerializer - name: VALUE_SERIALIZER diff --git a/az-svc-deployment.sh b/az-svc-deployment.sh index 94c9db15..fd0da812 100644 --- a/az-svc-deployment.sh +++ b/az-svc-deployment.sh @@ -6,7 +6,7 @@ DEPLOYMENT_NAME="adminservice" RESOURCE_GROUP_NAME="az-nashtech-resource-group" sudo az aks install-cli -sudo az acr login --name ntdemocontainerregistry --username ntdemocontainerregistry --password NshiXQFKNlAYyXJ/p7YxsSHwYqqEZwenHpJiQbpu9I+ACRDsvZur +sudo az acr login --name ntdemocontainerregistry --username ntdemocontainerregistry --password JlTMoFCc7LYcPJ/W3d78KcNiOjIT1Qzuxlq3H6Ckr9+ACRBdb1xa echo "---------build and deploy $SERVICE_NAME-----------" cd "$SERVICE_NAME" || exit mvn clean install @@ -16,7 +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 72c49877-6440-4e98-995b-42e97b099f8d -p WnM8Q~kzKjb5XAvu.Yw4f7lqeQ4H5euqauzvvaJ4 --tenant 023d14ee-6534-4891-94be-7d7350125054 +sudo az login --service-principal -u d06701bf-c5a5-4597-aead-a2c607825554 -p s.m8Q~cwHZGO3sl8FPL1~uJZ_X_KJH3fHgj7EcYm --tenant 023d14ee-6534-4891-94be-7d7350125054 echo "--------getting kube config--------------------------" sudo az aks get-credentials --resource-group "$RESOURCE_GROUP_NAME" --name "$AKS_CLUSTER" # setup kustomize